PDA

View Full Version : an odd runtime problem



cargo2k
02-07-2002, 04:39 PM
well, i installed the Nvidia drivers for my card, and the gears demo runs as to be expected.

but when i compile and run any of my own programs the window either shows the protion of my desktop(glut programs), or the contens of the window are the desktop color, or the window behind it with the image that is supposed to be drawn distorted randomly, and in patches in the window(Qt programs).

i can't figure out what is causing this.

thanks for any ideas.

p.s. i am using red hat 7.1 and i have tried both the Nvidia gl headers and the set that was distibuted with red hat.

02-08-2002, 08:16 PM
It seems like the window is not updated. Perhaps did the gears sample work because it is animated and updates the window all the time. You can check this by adding a idle func to your glut programs that is just posting a redisplay message.