From e3cc063206ecb994e66581de154355580b07cef7 Mon Sep 17 00:00:00 2001 From: tma Date: Tue, 8 Jul 2008 09:15:48 +0000 Subject: * Allow floating point values for r_znear git-svn-id: svn://svn.icculus.org/quake3/trunk@1421 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/renderer/tr_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/renderer') diff --git a/code/renderer/tr_init.c b/code/renderer/tr_init.c index 492b924..48447ae 100644 --- a/code/renderer/tr_init.c +++ b/code/renderer/tr_init.c @@ -933,7 +933,7 @@ void R_Register( void ) r_lodbias = ri.Cvar_Get( "r_lodbias", "0", CVAR_ARCHIVE ); r_flares = ri.Cvar_Get ("r_flares", "0", CVAR_ARCHIVE ); r_znear = ri.Cvar_Get( "r_znear", "4", CVAR_CHEAT ); - ri.Cvar_CheckRange( r_znear, 0.001f, 200, qtrue ); + ri.Cvar_CheckRange( r_znear, 0.001f, 200, qfalse ); r_zproj = ri.Cvar_Get( "r_zproj", "64", CVAR_ARCHIVE ); r_stereoSeparation = ri.Cvar_Get( "r_stereoSeparation", "64", CVAR_ARCHIVE ); r_ignoreGLErrors = ri.Cvar_Get( "r_ignoreGLErrors", "1", CVAR_ARCHIVE ); -- cgit v1.2.3