Fix some warnings

This commit is contained in:
Tillmann Karras committed 2015-06-23 21:11:56 +02:00
1 parent 21a70903ed
commit c9af7def28
5 files changed
+8 -12

No files matched your search

@@ -189,13 +189,6 @@ struct LightPointer
Vec3 dir;
};
static inline void AddIntegerColor(const u8 *src, Vec3 &dst)
{
dst.x += src[1];
dst.y += src[2];
dst.z += src[3];
}
static inline void AddScaledIntegerColor(const u8 *src, float scale, Vec3 &dst)
{
dst.x += src[1] * scale;