OGL: Properly reset the attributeless VAO.

This commit is contained in:
Unknown W. Brackets 2014-12-10 20:11:48 -08:00
parent b19cff8a08
commit 0861cb8744

View File

@ -143,4 +143,7 @@ void OpenGL_DeleteAttributelessVAO()
{ {
glDeleteVertexArrays(1, &attributelessVAO); glDeleteVertexArrays(1, &attributelessVAO);
glDeleteBuffers(1, &attributelessVBO); glDeleteBuffers(1, &attributelessVBO);
attributelessVAO = 0;
attributelessVBO = 0;
} }