mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-16 14:42:52 +00:00
OGL: Properly reset the attributeless VAO.
This commit is contained in:
parent
b19cff8a08
commit
0861cb8744
@ -143,4 +143,7 @@ void OpenGL_DeleteAttributelessVAO()
|
|||||||
{
|
{
|
||||||
glDeleteVertexArrays(1, &attributelessVAO);
|
glDeleteVertexArrays(1, &attributelessVAO);
|
||||||
glDeleteBuffers(1, &attributelessVBO);
|
glDeleteBuffers(1, &attributelessVBO);
|
||||||
|
|
||||||
|
attributelessVAO = 0;
|
||||||
|
attributelessVBO = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user