View Full Version : GLUT slow during keypressed

01-23-2003, 10:35 AM
Hello everyone!
I noticed that when a key is pressed, my programm slows down. I use Visual C++, but I noticed this problem with demos that I found on this site, so my question is : how do you stop windows interruptions generated by keypressed?
Thank you !!!! http://www.opengl.org/discussion_boards/ubb/smile.gif

Stack Overflow
01-23-2003, 10:38 AM
Does your program always slow down when you press any key on the keyboard? Does it go slow with any example you download besides the one you create? Are you using GLUT?


Stack Overflow
01-23-2003, 10:40 AM
Sorry for asking those questions, I didn't completely read your problem. Now for a real question, are you using Double Buffering? What does your keyboard Code look like?


[This message has been edited by VC6-OGL (edited 01-23-2003).]

01-23-2003, 10:45 AM
It slows down each time any key is pressed. I use Glut, and I use double buffering. The program that slows down shows water with drops that fall on it.
It slows very down if I press the key for a long time.

Stack Overflow
01-23-2003, 10:52 AM
Is the key your pressing executing any kind of animation or does it go slow when you press any key?