mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
OGL: fix buffer destruction
This buffer will be unbound in the StreamBuffer class itself, so no need to unbind them before.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user