Added lazy state updating for vertex array object binding/unbinding
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user