I'm having problems with my game loop. Basically I want an upper bounds on
number of updates/renders done. Say 60/second. For some reason it keeps
bouncing around by a fairly large amount (everything is basically empty
though). This is Win XP & Win 7 on Intel Core2 duo.
Anyone have a tight loop that keeps a constant rate?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having problems with my game loop. Basically I want an upper bounds on
number of updates/renders done. Say 60/second. For some reason it keeps
bouncing around by a fairly large amount (everything is basically empty
though). This is Win XP & Win 7 on Intel Core2 duo.
Anyone have a tight loop that keeps a constant rate?
Have you tried using glfwSwapInterval?
Thanks, that is working. For some reason I had it messed up earlier.