Skip to content

Commit

Permalink
Merge pull request #1571 from degasus/master
Browse files Browse the repository at this point in the history
OGL: fix buffer destruction
  • Loading branch information
Sonicadvance1 committed Nov 19, 2014
2 parents f5aed3d + ff942d4 commit a3f9f21
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Source/Core/VideoBackends/OGL/VertexManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a3f9f21

Please sign in to comment.