]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
changed default of r_depthfirst to 0, because in general it's a
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 5 Jul 2008 07:29:11 +0000 (07:29 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 5 Jul 2008 07:29:11 +0000 (07:29 +0000)
performance loss rather than a gain

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8385 d7cf8633-e32d-0410-b094-e92efae38249

gl_rmain.c

index 6b84a8223efeed3ece99765d848950757a4cf3bd..70eb82ea2a208390e8af53f21cb09b76f37707c8 100644 (file)
@@ -33,7 +33,7 @@ rtexturepool_t *r_main_texturepool;
 //
 r_refdef_t r_refdef;
 
-cvar_t r_depthfirst = {CVAR_SAVE, "r_depthfirst", "1", "renders a depth-only version of the scene before normal rendering begins to eliminate overdraw, values: 0 = off, 1 = world depth, 2 = world and model depth"};
+cvar_t r_depthfirst = {CVAR_SAVE, "r_depthfirst", "0", "renders a depth-only version of the scene before normal rendering begins to eliminate overdraw, values: 0 = off, 1 = world depth, 2 = world and model depth"};
 cvar_t r_useinfinitefarclip = {CVAR_SAVE, "r_useinfinitefarclip", "1", "enables use of a special kind of projection matrix that has an extremely large farclip"};
 cvar_t r_nearclip = {0, "r_nearclip", "1", "distance from camera of nearclip plane" };
 cvar_t r_showbboxes = {0, "r_showbboxes", "0", "shows bounding boxes of server entities, value controls opacity scaling (1 = 10%,  10 = 100%)"};