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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri May 4 11:59:52 EDT 2012


Author: thilo
Date: 2012-05-04 11:59:52 -0400 (Fri, 04 May 2012)
New Revision: 2245

Modified:
   trunk/code/renderer/tr_backend.c
Log:
Fix (#5312) introduced by rev 2103


Modified: trunk/code/renderer/tr_backend.c
===================================================================
--- trunk/code/renderer/tr_backend.c	2012-04-17 04:17:04 UTC (rev 2244)
+++ trunk/code/renderer/tr_backend.c	2012-05-04 15:59:52 UTC (rev 2245)
@@ -445,6 +445,11 @@
 	// 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
@@ -465,11 +470,6 @@
 	}
 	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