Setting up an OpenGL context

I’m new to OpenGL on Linux (I know my way around pretty well on a Mac, and a little on Windows).
I can’t figure out how to set up a basic OpenGL context on Linux! I can’t find any sample code anywhere.

I just need a simple “setupContext” function.
Thanks!

Check this post (only a few days old):

http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=4;t=001312

It contains sample code how to get an glx window up and running with glx1.2 or glx 1.3.

If you need further help, check the glx ports of nehes tutorials:

HTH,
Nico

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.