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:
degasus 2014-11-18 23:13:06 +01:00
parent f7d1943615
commit ff942d44b5
1 changed files with 0 additions and 3 deletions

View File

@ -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;
}