OpenGL: VBO features not defined

I am trying to use OpenGL VBO, but the functions associated with their use, glGenBuffersARB() , for example, are all undefined. Of course, the functions of the immediate mode are, of course, only these.

I am using VS2010, with the SFML library. One of the include headers in this library includes both <GL/gl.h> and <GL/glu.h> , and the executable is linked to glu32.lib and opengl32.lib

Why are only these features missing, and how can I enable their use?

+4
source share
1 answer

GLEW will define them, like other GL extension libraries.

Information can be found here: http://www.opengl.org/resources/features/OGLextensions/

Using an extension that includes new function call entry points is more difficult in Win32 because you must first request a function pointer from the OpenGL ICD driver before you can call the OpenGL function.

GLEW does it for you.

+7
source

All Articles