From: havoc Date: Sat, 28 Sep 2002 04:43:45 +0000 (+0000) Subject: fixed glOrtho call X-Git-Tag: RELEASE_0_2_0_RC1~186 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f0265b7b6c9bf3c84dd8586608dd46b974308d88;p=xonotic%2Fdarkplaces.git fixed glOrtho call git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2455 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/gl_backend.c b/gl_backend.c index 62063333..d9521d4b 100644 --- a/gl_backend.c +++ b/gl_backend.c @@ -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(); }