gl_rasterizer: Move index buffer uploading to its own method

This commit is contained in:
ReinUsesLisp
2019-05-27 19:37:46 -03:00
parent 772c86a260
commit 2e39c20da5
2 changed files with 18 additions and 7 deletions

View File

@@ -220,7 +220,9 @@ private:
void SetupVertexBuffer(GLuint vao);
DrawParameters SetupDraw();
GLintptr SetupIndexBuffer();
DrawParameters SetupDraw(GLintptr index_buffer_offset);
void SetupShaders(GLenum primitive_mode);