GLRenderer: support VBO without VAO

This commit is contained in:
Kirill Vainer 2016-03-02 13:41:46 -05:00
parent c6b568c125
commit ab8527770c

View File

@ -2840,11 +2840,11 @@ public final class GLRenderer implements Renderer {
// the method is collapsed again. -pspeed // the method is collapsed again. -pspeed
count = Math.max(mesh.getInstanceCount(), count); count = Math.max(mesh.getInstanceCount(), count);
// if (caps.contains(Caps.VertexBufferArray)) { if (caps.contains(Caps.VertexBufferArray)) {
renderMeshDefault(mesh, lod, count, instanceData); renderMeshDefault(mesh, lod, count, instanceData);
// } else { } else {
// renderMeshLegacy(mesh, lod, count, instanceData); renderMeshLegacy(mesh, lod, count, instanceData);
// // } }
} }
@Override @Override