Yes, and the funny thing is that it doesn’t flicker on the system where I built it, but everywhere else!!. It was extremely embarrasing because I sent this program out as a showcase, now that I am applying for jobs…
Please could someone help me out. I’m kind of in a hurry…
I use glut for windowing system. If someone could actually look at the code I’d be very grateful.
The system I built it on has a Pentium/Matrox G400 and the tested systems where it flickered were
Athlon/TNT2, and Pentium/ATI RAGE .
Looked at your code… It seems that you are calling glPopMatrix at the end of the display function while you never use glPushMatrix()… Maybe thats the problem… Ohterwise, it works pretty fine on my Geforce 2 MX apart from some occassional white glitches caused by pressing some keyboard key…
No flickering here on my machine. Reply if glPopMatrix problem fixes the flickering
Originally posted by Fastian:
[b]Have you tried enabling Wait for vertical sync. This might also be the problem. Enabling this should solve the problem
Fastian[/b]
I fixed the program. I simply removed the glFlush() call and now everything goes like a breeze even on slower machines.