mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Fix MSVC warning caused by r4488
git-svn-id: https://svn.eduke32.com/eduke32@4528 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9378066660
commit
b81a28b334
1 changed files with 3 additions and 3 deletions
|
@ -52,9 +52,9 @@ static inline void hictinting_apply(float *color, int32_t palnum)
|
|||
|
||||
static inline void hictinting_apply_ub(uint8_t *color, int32_t palnum)
|
||||
{
|
||||
color[0] *= (float)hictinting[palnum].r / 255.0;
|
||||
color[1] *= (float)hictinting[palnum].g / 255.0;
|
||||
color[2] *= (float)hictinting[palnum].b / 255.0;
|
||||
color[0] = (uint8_t)(color[0] * (float)hictinting[palnum].r / 255.0);
|
||||
color[1] = (uint8_t)(color[1] * (float)hictinting[palnum].g / 255.0);
|
||||
color[2] = (uint8_t)(color[2] * (float)hictinting[palnum].b / 255.0);
|
||||
}
|
||||
|
||||
// texcacheheader cachead.flags bits
|
||||
|
|
Loading…
Reference in a new issue