mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-23 07:30:40 +00:00
Fix MSVC warning in Polymer
git-svn-id: https://svn.eduke32.com/eduke32@4701 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
91e2556ad2
commit
9601554320
1 changed files with 1 additions and 1 deletions
|
@ -4891,7 +4891,7 @@ static int32_t polymer_bindmaterial(const _prmaterial *material, int16_t* l
|
|||
|
||||
texunit++;
|
||||
|
||||
bglUniform1fARB(prprograms[programbits].uniform_shadeOffset, material->shadeoffset);
|
||||
bglUniform1fARB(prprograms[programbits].uniform_shadeOffset, (GLfloat)material->shadeoffset);
|
||||
bglUniform1fARB(prprograms[programbits].uniform_visibility, globalvisibility/2048.0 * material->visibility);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue