use screen_width/height for scr_resolution uniform

those are meant for this kinda crap
This commit is contained in:
alufolie91 committed 2026-11-12 19:39:50 +01:00
1 parent 9321036049
commit ebd5b86e87
1 file changed
+1 -1
+1 -1
View File
@@ -2328,7 +2328,7 @@ static void GL_Shader_SetUniforms(FSurfaceInfo *Surface, GLRGBAFloat *poly, GLRG
UNIFORM_1(shader->uniforms[gluniform_leveltime], shader_leveltime, pglUniform1f);
UNIFORM_2(shader->uniforms[gluniform_scr_resolution], (GLfloat)vid.width, (GLfloat)vid.height, pglUniform2f);
UNIFORM_2(shader->uniforms[gluniform_scr_resolution], (GLfloat)screen_width, (GLfloat)screen_height, pglUniform2f);
#undef UNIFORM_1
#undef UNIFORM_2