diff --git a/polymer/eduke32/build/src/polymer.c b/polymer/eduke32/build/src/polymer.c index 139e0a52a..fede36f47 100644 --- a/polymer/eduke32/build/src/polymer.c +++ b/polymer/eduke32/build/src/polymer.c @@ -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); }