fix the downsample shader not applying changed resolutions

This commit is contained in:
Alug committed 2025-12-04 01:25:06 +01:00
1 parent 37aa922aa0
commit 5c4f86ffc1
1 file changed
+5
+5
View File
@@ -2225,6 +2225,11 @@ static void GL_Shader_SetUniforms(FSurfaceInfo *Surface, GLRGBAFloat *poly, GLRG
UNIFORM_2(shader->uniforms[gluniform_scr_resolution], vid.width, vid.height, pglUniform2f);
#ifdef USE_FBO_OGL
// supersampling crap
UNIFORM_2(shader->uniforms[gluniform_inv_supersamplefactor], InvSupersampleFactorX, InvSupersampleFactorY, pglUniform2f);
#endif
#undef UNIFORM_1
#undef UNIFORM_2
#undef UNIFORM_3