i’ve included glext.h in my app, but it seems the functions are recognised (i used to load the extensions manually, so commented out my defs so i can let glext.h do it).
You still gave to load the function pointers. glext.h just contains constants and function pointer definitions for stuff not defined in gl.h.
yeah i still do that,
but for some strange reason, it seems to think they functions are still undefined :-/
im using SDL:
glClientActiveTexture = (PFNGLCLIENTACTIVETEXTUREARBPROC)
glBindBufferARB = (PFNGLBINDBUFFERARBPROC) SDL_GL_GetProcAddress("glBindBufferARB"); glGenBuffersARB = (PFNGLGENBUFFERSARBPROC) SDL_GL_GetProcAddress("glGenBuffersARB"); glBufferDataARB = (PFNGLBUFFERDATAARBPROC) SDL_GL_GetProcAddress("glBufferDataARB");
So what is the exact error you get then? Is the problem with glBindBufferARB or PFNGLBINDBUFFERARBPROC (taking a single line as an example only)?