]> icculus.org git repositories - divverent/darkplaces.git/commit
changed use of infinite farclip to depend on 32bpp modes instead of on
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 19 Mar 2008 02:24:09 +0000 (02:24 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 19 Mar 2008 02:24:09 +0000 (02:24 +0000)
commitab8e6a4f1f4c12c794b6b867503286e1f4f54979
treee97b498d65ac74328368a266ff8d186998854060
parent53ca23a778ed2852060cad5b355605f8ff8442fc
changed use of infinite farclip to depend on 32bpp modes instead of on
whether shadows are enabled
added r_useinfinitefarclip cvar to allow disabling this otherwise forced
feature if it causes problems for anyone (was on for most users already)
optimized farclip math a little bit (use model->radius * 2 instead of
VectorDistance from corner to corner)

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