Commit 9df1e6ec authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed memory leak where buffer was not reused but recreated

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@11716 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4ee3b994
......@@ -741,8 +741,6 @@ DrawMeshT<Mesh>::createVBO()
if (!vbo_)
glGenBuffersARB(1, &vbo_);
glGenBuffersARB(1, &vbo_);
glBindBufferARB(GL_ARRAY_BUFFER_ARB, vbo_);
if (!flatMode_)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment