Hello.
A couple of years ago I developed a game using C with the GLUT library. I originally developed it on an older machine on which the game ran fine. Now when I have a newer and faster machine the game runs so fast that it's impossible to actually play it. I was wondering how the game could be modified so that the running speed is constant on all systems (more or less).
I would assume that I would have to implement some kind of sleep function to be called during the main loop or is there some other kind of technique normally used?
Thanks in advance.