No redraw with GLUT on xorg-ati-6.9.0

Hi Forum,

After a while I’m turning back again on my OpenGL lectures and … it stopped working. :frowning:

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.

What’s wrong?

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).

Simply replace glFlush(); by glutSwapBuffers(); in the display() func.

Previous version may only work with single-buffered window, and you request a double-buffered one.

Hehehe … Thanks! :slight_smile:

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