glfw/examples
Elias Vanderstuyft 0f38bf0240 Fix periodic lag/stutter: ensure that tv_nsec<10e9
Each time when "ts.tv_nsec" became greater or equal than 10e9, the cnd_timedwait() function returned immediately, causing the thread to become a busy waiting loop (slowing the other thread, on which the current was waiting, down), until "ts.tv_nsec" became smaller than 10e9.
This caused noticeable stutter one 10th of a second, since the timeout was 100ms.
2016-08-15 17:29:07 +02:00
..
boing.c Add Unix full screen key chord for no reason 2016-03-29 14:10:24 +02:00
CMakeLists.txt Add basic Vulkan support 2016-02-16 14:58:58 +01:00
gears.c Make tests and examples use glad 2015-10-14 12:38:18 +02:00
glfw.icns Add icon to examples 2015-10-15 18:04:02 +02:00
glfw.ico Add icon to examples 2015-10-15 18:04:02 +02:00
glfw.rc Add icon to examples 2015-10-15 18:04:02 +02:00
heightmap.c Fix example build errors on legacy MinGW 2015-11-10 14:08:28 +01:00
particles.c Fix periodic lag/stutter: ensure that tv_nsec<10e9 2016-08-15 17:29:07 +02:00
simple.c Update email address 2016-06-01 21:25:20 +02:00
splitview.c Make tests and examples use glad 2015-10-14 12:38:18 +02:00
wave.c Make tests and examples use glad 2015-10-14 12:38:18 +02:00