Fix some warnings

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

View File

@ -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;