mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01: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:
parent
f7d1943615
commit
ff942d44b5
@ -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…
x
Reference in New Issue
Block a user