PDA

View Full Version : GLX little problem



ncn213
02-17-2009, 04:24 AM
I use xlib and glx to create an opengl program. I redraw the window every 1 second. when I have a window in regular size I don't have any problem, but when I go to full screen mode with XRRSetScrennConfigAndRate(); My first draw happen but every second draw(redraw) doesn't happen?
**But when I enable opengl antialiasing in my nvidia X server setting it work true? What's the reson?

ZbuffeR
02-17-2009, 05:40 AM
do swapbuffers correctly ? do you use double buffer drawing (you should) ?
try disable composite desktop manager such as compiz : do it change something ?