After a while I’m turning back again on my OpenGL lectures and … it stopped working.
I’m still somewhere on the opening “red book” chapters. I initialize a window with glut, register the callback, etc.
I even know the display function is passed once, and I remember it worked before. This was before I switched to xorg ati 6.9.0 drivers.
Now, I don’t get any visual. The window is not cleared nor is there any content displayed at all using the glut routines.
I took a glance on the glxgears sample (which works!) and noticed
it doesn’t use glut but issues a glxSwapBuffers.
The sample can be downloaded here: http://www.dyle.org/opengl/opengl_example-0.6.tar.gz
It’s the bin/main.cpp file.
Maybe it’s a driver issue (or I simply don’t see it).