Hello,
I'm attempting to implement VBOs, although my compiler keeps complaining:
error: value glGenBufferARB is not a member of object org.lwjgl.opengl.ARBVertexBufferObject
I'm following the VBO instructions posted on the wiki:
public static int createVBOID() {
if (GLContext.getCapabilities().GL_ARB_vertex_buffer_object) {
IntBuffer buffer = BufferUtils.createIntBuffer(1);
ARBVertexBufferObject.glGenBuffersARB(buffer);
return buffer.get(0);
}
return 0;
}
I'm using lwjgl 2.1.0.... Any suggestions?