mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
OGL: Properly reset the attributeless VAO.
This commit is contained in:
@ -143,4 +143,7 @@ void OpenGL_DeleteAttributelessVAO()
|
|||||||
{
|
{
|
||||||
glDeleteVertexArrays(1, &attributelessVAO);
|
glDeleteVertexArrays(1, &attributelessVAO);
|
||||||
glDeleteBuffers(1, &attributelessVBO);
|
glDeleteBuffers(1, &attributelessVBO);
|
||||||
|
|
||||||
|
attributelessVAO = 0;
|
||||||
|
attributelessVBO = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user