how do i get them work?
so there seems to be 2 ways: either use those wglSomething functions to check for specific functions and store the result ina glXARB function pointer.
or simply use that
sdk library there.
so i want to go with the second option - but somehow i don't get it to work with my project - the glprocs.c file there won't compile. (errors below)
so i have such extensions headers in my /usr/include/GL directory, but that sdk comes with its own. so should i overwrite the original headers with the ones from the sdk or better store them in another directory?
so has anyone used that before (and got it to work)?
edit: im using gcc under fedora.
glprocs.c: In function ‘void InitBlendColor(GLclampf, GLclampf, GLclampf, GLclampf)’:
glprocs.c:57: error: invalid conversion from ‘const char*’ to ‘const GLubyte*’
glprocs.c:57: error: initializing argument 1 of ‘void (* glXGetProcAddressARB(const GLubyte*))()’
glprocs.c:64: error: invalid conversion from ‘void*’ to ‘void (*)(GLclampf, GLclampf, GLclampf, GLclampf)’
same error repeat till line >15000 *g*