Commit 0216ca3d authored by Jan Möbius's avatar Jan Möbius

Merge branch 'featureRemoveExtensions' into 'master'

replaced aliased OpenGLExtension calls

See merge request !1
parents f7deaa68 f7825343
......@@ -338,7 +338,7 @@ void PlaneNode::updateVBO()
return;
if ( !vbo_ ) {
glGenBuffersARB(1, &vbo_);
glGenBuffers(1, &vbo_);
}
const ACG::Vec3d xy = plane_.xDirection + plane_.yDirection;
......@@ -367,10 +367,10 @@ void PlaneNode::updateVBO()
// Bind buffer
glBindBufferARB(GL_ARRAY_BUFFER_ARB, vbo_);
glBindBuffer(GL_ARRAY_BUFFER_ARB, vbo_);
// Upload to buffer
glBufferDataARB(GL_ARRAY_BUFFER_ARB, vboSize * sizeof(float), &vboData[0], GL_STATIC_DRAW_ARB);
glBufferData(GL_ARRAY_BUFFER_ARB, vboSize * sizeof(float), &vboData[0], GL_STATIC_DRAW_ARB);
// Unbind
ACG::GLState::bindBufferARB( GL_ARRAY_BUFFER_ARB, 0 );
......
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