mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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