mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
OGL: Properly reset the attributeless VAO.
This commit is contained in:
parent
b19cff8a08
commit
0861cb8744
1 changed files with 3 additions and 0 deletions
|
@ -143,4 +143,7 @@ void OpenGL_DeleteAttributelessVAO()
|
||||||
{
|
{
|
||||||
glDeleteVertexArrays(1, &attributelessVAO);
|
glDeleteVertexArrays(1, &attributelessVAO);
|
||||||
glDeleteBuffers(1, &attributelessVBO);
|
glDeleteBuffers(1, &attributelessVBO);
|
||||||
|
|
||||||
|
attributelessVAO = 0;
|
||||||
|
attributelessVBO = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue