From d33e24b6d8ee54e4c60614d04ae0f5a76cee76a4 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 18 Dec 2009 20:02:39 +0000 Subject: [PATCH] * Remove r_displayRefresh as it's not connected to anything, now --- code/renderer/tr_init.c | 4 ---- code/renderer/tr_local.h | 1 - 2 files changed, 5 deletions(-) diff --git a/code/renderer/tr_init.c b/code/renderer/tr_init.c index edcf48b8..8c0cf687 100644 --- a/code/renderer/tr_init.c +++ b/code/renderer/tr_init.c @@ -45,8 +45,6 @@ cvar_t *r_ignoreFastPath; cvar_t *r_verbose; cvar_t *r_ignore; -cvar_t *r_displayRefresh; - cvar_t *r_detailTextures; cvar_t *r_znear; @@ -926,8 +924,6 @@ void R_Register( void ) // // temporary latched variables that can only change over a restart // - r_displayRefresh = ri.Cvar_Get( "r_displayRefresh", "0", CVAR_LATCH ); - ri.Cvar_CheckRange( r_displayRefresh, 0, 200, qtrue ); r_fullbright = ri.Cvar_Get ("r_fullbright", "0", CVAR_LATCH|CVAR_CHEAT ); r_mapOverBrightBits = ri.Cvar_Get ("r_mapOverBrightBits", "2", CVAR_LATCH ); r_intensity = ri.Cvar_Get ("r_intensity", "1", CVAR_LATCH ); diff --git a/code/renderer/tr_local.h b/code/renderer/tr_local.h index f5a3846c..098afd7e 100644 --- a/code/renderer/tr_local.h +++ b/code/renderer/tr_local.h @@ -1045,7 +1045,6 @@ extern cvar_t *r_mode; // video mode extern cvar_t *r_fullscreen; extern cvar_t *r_noborder; extern cvar_t *r_gamma; -extern cvar_t *r_displayRefresh; // optional display refresh option extern cvar_t *r_ignorehwgamma; // overrides hardware gamma capabilities extern cvar_t *r_allowExtensions; // global enable/disable of OpenGL extensions