From d64880acada0a85c768b7009cc1c1451931de12c Mon Sep 17 00:00:00 2001 From: thilo Date: Sun, 27 Apr 2008 17:43:35 +0000 Subject: Another two minor clean-ups to last commit. git-svn-id: svn://svn.icculus.org/quake3/trunk@1329 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/renderer/tr_cmds.c | 6 ++---- code/renderer/tr_local.h | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'code/renderer') diff --git a/code/renderer/tr_cmds.c b/code/renderer/tr_cmds.c index 5d6011e..8cd6ccb 100644 --- a/code/renderer/tr_cmds.c +++ b/code/renderer/tr_cmds.c @@ -486,11 +486,9 @@ void RE_BeginFrame( stereoFrame_t stereoFrame ) { { 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; } diff --git a/code/renderer/tr_local.h b/code/renderer/tr_local.h index d55c4d2..52a9e37 100644 --- a/code/renderer/tr_local.h +++ b/code/renderer/tr_local.h @@ -1005,7 +1005,6 @@ extern cvar_t *r_stereoSeparation; // separation of cameras for stereo renderi 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 -- cgit v1.2.3