Exec speed between Windows and GLUT


I have converted Camera 4 tutorial from http://www.morrowland.com/

from pure Windows to GLUT (on windows) and it is much faster to run under windows. For instance with GLUT everytime I click on the keyboard arrows there is a lapse of time between button clicks (when I click on the left and up arrow for instance). On windows it does not happen. Why?

in the windows implementation the user keyboard changes (i.e., go right left…) are made by a fucntion called in the WinMain routine, in my glut implementation it is done through glutSpecialFunc, is it how it should be done?

I can send the code if someone wants to…

Thanks for your help.