]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_draw.c
cleaned up R_RenderView setup code a bit, and shuffled SCR_CalcRefdef stuff to SCR_Up...
[xonotic/darkplaces.git] / gl_draw.c
index 8407edf2b438fe768f9cd5be29caaf3a6f3b5cd7..e143ad3ea2277e8f3b570af032c5354e466d620c 100644 (file)
--- a/gl_draw.c
+++ b/gl_draw.c
@@ -418,7 +418,7 @@ void R_DrawQueue(void)
                        quadelements[pos++] = num + 3;
                }
        }
-       GL_SetupView_ViewPort(vid.realx, vid.realy, vid.realwidth, vid.realheight);
+       qglViewport(0, 0, vid.realwidth, vid.realheight);
        GL_SetupView_Mode_Ortho(0, 0, vid.conwidth, vid.conheight, -10, 100);
        qglDepthFunc(GL_LEQUAL);
        R_Mesh_Start();