OGL: Properly reset the attributeless VAO.

This commit is contained in:
Unknown W. Brackets committed 2014-12-10 20:11:48 -08:00
1 parent b19cff8a08
commit 0861cb8744
1 file changed
+3
+3
View File
@@ -143,4 +143,7 @@ void OpenGL_DeleteAttributelessVAO()
{
glDeleteVertexArrays(1, &attributelessVAO);
glDeleteBuffers(1, &attributelessVBO);
attributelessVAO = 0;
attributelessVBO = 0;
}