Re: glMultiDrawArrays
Posted by
gouessej on
Jan 06, 2011; 9:27pm
URL: https://forum.jogamp.org/glMultiDrawArrays-tp2208164p2208339.html
Hi!
I don't advise you to use glMultiDrawArrays because some implementations are buggy, lots of them only perform a loop and it rarely gives any performance boost:
The effect of glMultiDrawArrays() is the same as
for (i = 0; i < primcount; i++) {
if (count[i] > 0)
glDrawArrays(mode, first[i], count[i]);
}