gl_state: Remove VAO cache and tracking
This commit is contained in:
parent
2a662fea36
commit
d5ab0358b6
10 changed files with 52 additions and 152 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue