mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 03:24:59 +00:00
Merge pull request #1571 from degasus/master
OGL: fix buffer destruction
This commit is contained in:
commit
a3f9f21e08
1 changed files with 0 additions and 3 deletions
|
@ -63,9 +63,6 @@ void VertexManager::CreateDeviceObjects()
|
|||
|
||||
void VertexManager::DestroyDeviceObjects()
|
||||
{
|
||||
glBindBuffer(GL_ARRAY_BUFFER, 0 );
|
||||
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0 );
|
||||
|
||||
delete s_vertexBuffer;
|
||||
delete s_indexBuffer;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue