Merge pull request #1571 from degasus/master

OGL: fix buffer destruction
This commit is contained in:
Ryan Houdek 2014-11-19 02:13:36 -06:00
commit a3f9f21e08
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;
}