i forgot to add this patch. it reduced the draw calls for dx and opengl to one.
the opengl implementation may be optimized if you replace glDrawArray() with glDrawElements().
i also add a optimation for drawMeshBufferNormals
normalCount draw calls
1 draw call
The changes to CNullDriver are not working, since software drivers don't support all primitive types so far.
oh yes you are right.
well so can you add the opengl and dx part of it plz?
The GL part looks good to me.