Commit 5ac51e1e authored by Jan Möbius's avatar Jan Möbius
Browse files

Use glstate functions



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12595 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 9cd99c5c
......@@ -294,7 +294,7 @@ void SplatCloudNode::rebuildVBO()
bool success = glUnmapBufferARB( GL_ARRAY_BUFFER_ARB );
// deactivate vertex-buffer-object
glBindBufferARB( GL_ARRAY_BUFFER_ARB, 0 );
ACG::GLState::bindBufferARB( GL_ARRAY_BUFFER_ARB, 0 );
// mark vertex-buffer-object as valid only if it was successfully updated and unmaped
vboValid_ = (buffer != 0) && success;
......
Markdown is supported
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