Revert "Fix Water_Ripple uniform"

This reverts commit ec53fd6511.
This commit is contained in:
NepDisk 2026-04-30 12:05:45 -04:00
parent 3e2d14c42a
commit 35edca61db

View file

@ -1945,14 +1945,7 @@ static void Shader_SetUniforms(FSurfaceInfo *Surface, GLRGBAFloat *poly, GLRGBAF
UNIFORM_2(shader->uniforms[gluniform_scr_resolution], (GLfloat)vid.width, (GLfloat)vid.height, pglUniform2f);
if (Surface)
{
UNIFORM_1(shader->uniforms[gluniform_water_ripple], (Surface->PolyFlags & PF_Ripple), pglUniform1f);
}
else
{
UNIFORM_1(shader->uniforms[gluniform_water_ripple], 0, pglUniform1f);
}
UNIFORM_1(shader->uniforms[gluniform_water_ripple], !!(Surface && (Surface->PolyFlags & PF_Ripple)), pglUniform1f);
#undef UNIFORM_1
#undef UNIFORM_2