r1329 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Apr 27 13:43:35 EDT 2008


Author: thilo
Date: 2008-04-27 13:43:35 -0400 (Sun, 27 Apr 2008)
New Revision: 1329

Modified:
   trunk/code/renderer/tr_cmds.c
   trunk/code/renderer/tr_local.h
Log:
Another two minor clean-ups to last commit.


Modified: trunk/code/renderer/tr_cmds.c
===================================================================
--- trunk/code/renderer/tr_cmds.c	2008-04-27 17:32:14 UTC (rev 1328)
+++ trunk/code/renderer/tr_cmds.c	2008-04-27 17:43:35 UTC (rev 1329)
@@ -486,11 +486,9 @@
 		{
 			cmd->commandId = RC_DRAW_BUFFER;
 
-			if(stereoFrame == STEREO_CENTER && r_anaglyphMode->modified)
+			if(r_anaglyphMode->modified)
 			{
-				if(!r_anaglyphMode->integer)
-					qglColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
-
+				qglColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
 				r_anaglyphMode->modified = qfalse;
 			}
 

Modified: trunk/code/renderer/tr_local.h
===================================================================
--- trunk/code/renderer/tr_local.h	2008-04-27 17:32:14 UTC (rev 1328)
+++ trunk/code/renderer/tr_local.h	2008-04-27 17:43:35 UTC (rev 1329)
@@ -1005,7 +1005,6 @@
 extern cvar_t	*r_stencilbits;			// number of desired stencil bits
 extern cvar_t	*r_depthbits;			// number of desired depth bits
 extern cvar_t	*r_colorbits;			// number of desired color bits, only relevant for fullscreen
-extern cvar_t	*r_stereo;				// desired pixelformat stereo flag
 extern cvar_t	*r_texturebits;			// number of desired texture bits
 										// 0 = use framebuffer depth
 										// 16 = use 16-bit textures




More information about the quake3-commits mailing list