The framerate limiter doesn't work when inputs are being sent (eg mouse cursor moving over the window), because glfwWaitEventsTimeout returns early when it encounters an event.
Implementation description
I made it sleep for the remaining time when that happens.
Problem description
The framerate limiter doesn't work when inputs are being sent (eg mouse cursor moving over the window), because
glfwWaitEventsTimeout
returns early when it encounters an event.Implementation description
I made it sleep for the remaining time when that happens.