diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-07-08 09:15:48 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-07-08 09:15:48 +0000 |
commit | e3cc063206ecb994e66581de154355580b07cef7 (patch) | |
tree | 1685bed3a28a83c08d616651d610c0d97ee5259d /code/renderer | |
parent | 80e25417be92abff3053a4d8f209349a16e6d334 (diff) | |
download | ioquake3-aero-e3cc063206ecb994e66581de154355580b07cef7.tar.gz ioquake3-aero-e3cc063206ecb994e66581de154355580b07cef7.zip |
* Allow floating point values for r_znear
git-svn-id: svn://svn.icculus.org/quake3/trunk@1421 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/renderer')
-rw-r--r-- | code/renderer/tr_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |