Extention query

i saw that JoGL can make the following code:

boolean has VBO = (gl.isFunctionAvailable("glGenBuffersARB") &&
                                                gl.isFunctionAvailable("glBindBufferARB") &&
                                                gl.isFunctionAvailable("glBufferDataARB") &&
                                                gl.isFunctionAvailable("glDeleteBuffersARB"));

what is the equvalient procedure in LWJGL?

IIRC those are all part of the VBO extension, so you want something like:

final boolean hasVbo = GLContext.getCapabilities().GL_ARB_vertex_buffer_object;

thanks!

This thread just shows how sticky threads are ignored.

Can they please get destickyfied? Mods :-*

Just because the poster of this thread ignored the sticky thread, doesn’t mean everybody does…

IMHO it’s forum-rot (check the JOGL forum), but well… it it only bothers me, no problem :slight_smile:

Actually I just checked that sticky, and the information contained within was well out of date so I’ve totally deleted it to prevent further internet entropy :slight_smile:

Cas :slight_smile: