summaryrefslogtreecommitdiff
path: root/src/client/cl_scrn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_scrn.c')
-rw-r--r--src/client/cl_scrn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/cl_scrn.c b/src/client/cl_scrn.c
index 1a7a34b4..cd1252e1 100644
--- a/src/client/cl_scrn.c
+++ b/src/client/cl_scrn.c
@@ -545,9 +545,9 @@ void SCR_UpdateScreen( void ) {
if( uivm || com_dedicated->integer )
{
// XXX
- extern cvar_t* r_anaglyphMode;
+ int in_anaglyphMode = Cvar_VariableIntegerValue("r_anaglyphMode");
// if running in stereo, we need to draw the frame twice
- if ( cls.glconfig.stereoEnabled || r_anaglyphMode->integer) {
+ if ( cls.glconfig.stereoEnabled || in_anaglyphMode) {
SCR_DrawScreenField( STEREO_LEFT );
SCR_DrawScreenField( STEREO_RIGHT );
} else {