diff options
author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-04-27 17:43:35 +0000 |
---|---|---|
committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-04-27 17:43:35 +0000 |
commit | d64880acada0a85c768b7009cc1c1451931de12c (patch) | |
tree | f457f1c257e50e3532dda869073df8b336c84a0e /code | |
parent | a1757f0abe8b9780d4c85415bc0fc9af1af31ff2 (diff) | |
download | ioquake3-aero-d64880acada0a85c768b7009cc1c1451931de12c.tar.gz ioquake3-aero-d64880acada0a85c768b7009cc1c1451931de12c.zip |
Another two minor clean-ups to last commit.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1329 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r-- | code/renderer/tr_cmds.c | 6 | ||||
-rw-r--r-- | code/renderer/tr_local.h | 1 |
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 |