aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer
diff options
context:
space:
mode:
Diffstat (limited to 'code/renderer')
-rw-r--r--code/renderer/tr_cmds.c6
-rw-r--r--code/renderer/tr_local.h1
2 files changed, 2 insertions, 5 deletions
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