This uses gettimeofday() for timing purposes which has been deprecated for a few years now. I believe it's not reliable as it can be changed by other processes running alongside your application (like ntpd for example). A better alternative is clock_gettime() with a monotonic clock.
back
1 comments
Since the demo now uses GLFW it could call glfwGetTime, which uses clock_gettime where available.