[quake3-commits] r2103 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Jul 29 07:42:57 EDT 2011


Author: thilo
Date: 2011-07-29 07:42:57 -0400 (Fri, 29 Jul 2011)
New Revision: 2103

Modified:
   trunk/code/renderer/tr_backend.c
Log:
Fix menu corruption on IRIX (#5097), patch by Rainer Canavan


Modified: trunk/code/renderer/tr_backend.c
===================================================================
--- trunk/code/renderer/tr_backend.c	2011-07-27 15:47:29 UTC (rev 2102)
+++ trunk/code/renderer/tr_backend.c	2011-07-29 11:42:57 UTC (rev 2103)
@@ -445,11 +445,6 @@
 	// 2D images again
 	backEnd.projection2D = qfalse;
 
-	//
-	// set the modelview matrix for the viewer
-	//
-	SetViewportAndScissor();
-
 	// ensures that depth writes are enabled for the depth clear
 	GL_State( GLS_DEFAULT );
 	// clear relevant buffers
@@ -470,6 +465,11 @@
 	}
 	qglClear( clearBits );
 
+	//
+	// set the modelview matrix for the viewer
+	//
+	SetViewportAndScissor();
+
 	if ( ( backEnd.refdef.rdflags & RDF_HYPERSPACE ) )
 	{
 		RB_Hyperspace();



More information about the quake3-commits mailing list