Getting started on Unix
I am attempting to add OpenGL to an existing program. However, when I call glXMakeCurrent(), I get a return of 0 (= error) and sure enough nothing is drawn by ogl. I have previously gotten a valid Display, Window and GLXContext (the args to glXMakeCurrent). I have successfully called
Any help greatly appreciated. Oh yes, the same code runs successfully on NT using wgl* where I'm using glX* on Unix.
Re: Getting started on Unix
I suggest you use (IF you can/want to) GLUT to handle windows. The code works on all platforms with no/minor modifications.
You can find GLUT at http://reality.sgi.com/opengl/glut3/glut3.html
GLUT is extremely wasy to use...