]> 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)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 8 Jan 2013 10:56:58 +0000 (10:56 +0000)
commitf08475bfc84f81a7563982fb4599c75977e7a00e
treeebe00bd54b93da581a62f74e3ed9ceeb4075593e
parent6037bd95e06be7ae06198464b5871fb567077092
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
gl_rmain.c
render.h