r1421 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Jul 8 05:16:07 EDT 2008


Author: tma
Date: 2008-07-08 05:15:48 -0400 (Tue, 08 Jul 2008)
New Revision: 1421

Modified:
   trunk/code/renderer/tr_init.c
Log:
* Allow floating point values for r_znear


Modified: trunk/code/renderer/tr_init.c
===================================================================
--- trunk/code/renderer/tr_init.c	2008-07-07 22:31:39 UTC (rev 1420)
+++ trunk/code/renderer/tr_init.c	2008-07-08 09:15:48 UTC (rev 1421)
@@ -933,7 +933,7 @@
 	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 );




More information about the quake3-commits mailing list