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 18:49:08 +01:00
1 parent 4c1be86f65
commit 30fc895120
1 file changed
+1 -1
+1 -1
View File
@@ -2340,7 +2340,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