Forgotten / TICRATE

This commit is contained in:
Sally Cochenour 2020-04-25 21:33:34 -04:00
parent b2aebb81ec
commit 792d1a5f35
1 changed files with 1 additions and 1 deletions

View File

@ -1767,7 +1767,7 @@ static void load_shaders(FSurfaceInfo *Surface, GLRGBAFloat *poly, GLRGBAFloat *
UNIFORM_1(shader->uniforms[gluniform_lighting], Surface->LightInfo.light_level, pglUniform1f);
UNIFORM_1(shader->uniforms[gluniform_fade_start], Surface->LightInfo.fade_start, pglUniform1f);
UNIFORM_1(shader->uniforms[gluniform_fade_end], Surface->LightInfo.fade_end, pglUniform1f);
UNIFORM_1(shader->uniforms[gluniform_leveltime], (float)leveltime, pglUniform1f);
UNIFORM_1(shader->uniforms[gluniform_leveltime], ((float)leveltime) / TICRATE, pglUniform1f);
#undef UNIFORM_1
#undef UNIFORM_2