Frame timing for GLFW versus GLUT
- by linello
I need a library which ensures me that the timing between frames are more constant as possible during an experiment of visual psychophics.
This is usually done synchronizing the refresh rate of the screen with the main loop.
For example if my monitor runs at 60Hz I would like to specify that frequency to my framework.
For example if my gameloop is the following
void gameloop()
{
// do some computation
printDeltaT();
Flip buffers
}
I would like to have printed a constant time interval. Is it possible with GLFW?