Hello Guest

Vertex Buffer Object (VBO)

  • 1 Replies
Vertex Buffer Object (VBO)
« on: June 29, 2009, 20:23:43 »

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:
Code: [Select]
public static int createVBOID() {
if (GLContext.getCapabilities().GL_ARB_vertex_buffer_object) {
IntBuffer buffer = BufferUtils.createIntBuffer(1);
return buffer.get(0);
return 0;

I'm using lwjgl 2.1.0.... Any suggestions?

Re: Vertex Buffer Object (VBO)
« Reply #1 on: July 06, 2009, 14:50:13 »
Looks like you are maybe missing an 's': ARBVertexBufferObject.glGenBuffersARB(buffer)
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D