gl_state: Remove VAO cache and tracking

This commit is contained in:
ReinUsesLisp
2019-12-26 00:16:52 -03:00
parent 2a662fea36
commit d5ab0358b6
10 changed files with 52 additions and 152 deletions

View File

@ -16,7 +16,7 @@ public:
explicit VertexArrayPushBuffer();
~VertexArrayPushBuffer();
void Setup(GLuint vao_);
void Setup();
void SetIndexBuffer(const GLuint* buffer);
@ -28,7 +28,6 @@ public:
private:
struct Entry;
GLuint vao{};
const GLuint* index_buffer{};
std::vector<Entry> vertex_buffers;
};