diff options
Diffstat (limited to 'src/renderer')
-rw-r--r-- | src/renderer/tr_init.c | 4 | ||||
-rw-r--r-- | src/renderer/tr_local.h | 1 | ||||
-rw-r--r-- | src/renderer/tr_scene.c | 8 |
3 files changed, 4 insertions, 9 deletions
diff --git a/src/renderer/tr_init.c b/src/renderer/tr_init.c index 90b74683..89fcf3e3 100644 --- a/src/renderer/tr_init.c +++ b/src/renderer/tr_init.c @@ -42,8 +42,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; @@ -938,8 +936,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/src/renderer/tr_local.h b/src/renderer/tr_local.h index 231855e9..ad32c260 100644 --- a/src/renderer/tr_local.h +++ b/src/renderer/tr_local.h @@ -1044,7 +1044,6 @@ extern cvar_t *r_pixelAspect; 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 diff --git a/src/renderer/tr_scene.c b/src/renderer/tr_scene.c index ae1376e9..232cb684 100644 --- a/src/renderer/tr_scene.c +++ b/src/renderer/tr_scene.c @@ -213,10 +213,10 @@ void RE_AddRefEntityToScene( const refEntity_t *ent ) { return; } if ( Q_isnan(ent->origin[0]) || Q_isnan(ent->origin[1]) || Q_isnan(ent->origin[2]) ) { - static qboolean first_time = qtrue; - if (first_time) { - first_time = qfalse; - Com_Printf(S_COLOR_YELLOW "WARNING: You might have built ioquake3 with a buggy compiler!\n"); + static qboolean firstTime = qtrue; + if (firstTime) { + firstTime = qfalse; + Com_DPrintf(S_COLOR_YELLOW "WARNING: RE_AddRefEntityToScene passed a refEntity which has an origin with a NaN component\n"); } return; } |