Loading an extension in linux
How do I load an extension in linux? I've tried using glew but if I call glewInit(), nothing is drawn on the screen.
The extension in question is ARB_multisample (http://oss.sgi.com/projects/ogl-sample/registry/ARB/multisample.txt)
You don't have to load anything at all...
Just check that it's defined, supported by the card/driver and off you go...
Just check that it's defined, supported by the card/driver and off you go...
Well, if it's not in the core ( alot of things are ), then you can use glXGetProcAddress or you can use SDL's one which is SDL_GL_GetProcAddress to get the extension pointers.
Try gluX - cross platform easy OpenGL eXtension Loading
http://w3imagis.imag.fr/Membres/Sylvain.Lefebvre/glux/
http://w3imagis.imag.fr/Membres/Sylvain.Lefebvre/glux/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement