Added lazy state updating for vertex array object binding/unbinding

This commit is contained in:
Robert Osfield
2017-03-13 11:44:34 +00:00
parent a6453ad877
commit ffbc1167de
6 changed files with 26 additions and 9 deletions

View File

@@ -164,10 +164,6 @@ public:
void deleteVertexArrayObject();
inline void bindVertexArrayObject() const { _ext->glBindVertexArray (_vertexArrayObject); }
inline void unbindVertexArrayObject() const { _ext->glBindVertexArray (0); }
GLuint getVertexArrayObject() const { return _vertexArrayObject; }