Fix MSVC warning in Polymer

git-svn-id: https://svn.eduke32.com/eduke32@4701 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2014-10-29 17:06:20 +00:00
parent 91e2556ad2
commit 9601554320

View file

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