fixed glOrtho call
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 28 Sep 2002 04:43:45 +0000 (04:43 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 28 Sep 2002 04:43:45 +0000 (04:43 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2455 d7cf8633-e32d-0410-b094-e92efae38249

gl_backend.c

index 6206333..d9521d4 100644 (file)
@@ -248,7 +248,7 @@ void GL_SetupView_Mode_Ortho (double x1, double y1, double x2, double y2, double
        // set up viewpoint
        qglMatrixMode(GL_PROJECTION);CHECKGLERROR
        qglLoadIdentity ();CHECKGLERROR
-       qglOrtho(x1, y2, x2, y1, zNear, zFar);
+       qglOrtho(x1, x2, y2, y1, zNear, zFar);
        qglMatrixMode(GL_MODELVIEW);CHECKGLERROR
        GL_SetupView_Orientation_Identity();
 }