]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
added r_batch_multidraw and r_batch_multidraw_mintriangles cvars, this
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 8 Jan 2013 10:56:58 +0000 (10:56 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 13 Jan 2013 20:13:34 +0000 (21:13 +0100)
commitaa8a1d2b777c9ffb855121c0098944cb88dee205
treeebe00bd54b93da581a62f74e3ed9ceeb4075593e
parent94173a5fe04e87602d27bd1c6cce8715192cea4c
added r_batch_multidraw and r_batch_multidraw_mintriangles cvars, this
code defaults on, restoring the old rendering path that used multiple
glDrawRangeElements calls for surface batching rather than copying index
data, on high poly maps this has a positive impact, on low poly maps I
was unable to find a difference in fps either way

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11871 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=f08475bfc84f81a7563982fb4599c75977e7a00e
gl_rmain.c
render.h