fix the downsample shader not applying changed resolutions
This commit is contained in:
1 parent
37aa922aa0
commit
5c4f86ffc1
1 file changed
+5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user