mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 10:19:01 +00:00
Fix some warnings
This commit is contained in:
parent
21a70903ed
commit
c9af7def28
5 changed files with 8 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue