Commit 6f5495f6 authored by Romain Pacanowski's avatar Romain Pacanowski

Splitting geometry draw calls into multiple calls by using multiple indexed buffer

parent 88a7b207
......@@ -61,7 +61,10 @@ private:
GLuint mVertexArrayId;
bool _meshIsInitialized;
GLint _max_elem_indices;
GLint _max_elem_verts;
std::vector< std::pair<GLuint,GLuint> > _indexBufferDataIDs; // index_buffer_id -> nb_elements_to_draw
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment