From af45b9f4614d7018146e68832de3bccb1c73f7e7 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 17 Jan 2013 13:31:30 +0000 Subject: Use SDL 2 instead of SDL 1.2 --- src/renderergl1/tr_init.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/renderergl1/tr_init.c') diff --git a/src/renderergl1/tr_init.c b/src/renderergl1/tr_init.c index 8d8b1f5e..fbaa1c37 100644 --- a/src/renderergl1/tr_init.c +++ b/src/renderergl1/tr_init.c @@ -46,6 +46,8 @@ cvar_t *r_ignoreFastPath; cvar_t *r_verbose; cvar_t *r_ignore; +cvar_t *r_displayRefresh; + cvar_t *r_detailTextures; cvar_t *r_znear; @@ -973,6 +975,8 @@ 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 ); -- cgit