non-zero), just for performance testing
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8265
d7cf8633-e32d-0410-b094-
e92efae38249
element3i += firsttriangle * 3;
if (element3s)
element3s += firsttriangle * 3;
- if (gl_vbo.integer != 1)
+ switch (gl_vbo.integer)
+ {
+ default:
+ case 0:
+ case 2:
bufferobject3i = bufferobject3s = 0;
+ break;
+ case 1:
+ break;
+ case 3:
+ if (firsttriangle)
+ bufferobject3i = bufferobject3s = 0;
+ break;
+ }
CHECKGLERROR
r_refdef.stats.meshes++;
r_refdef.stats.meshes_elements += numelements;