• Advertisement
Sign in to follow this  

Loading an extension in linux

This topic is 4929 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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)

Share this post


Link to post
Share on other sites
Advertisement
You don't have to load anything at all...
Just check that it's defined, supported by the card/driver and off you go...

Share this post


Link to post
Share on other sites
But don't I need to set the antialiasing mode before I create my window?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Try gluX - cross platform easy OpenGL eXtension Loading

http://w3imagis.imag.fr/Membres/Sylvain.Lefebvre/glux/

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement