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
Camilla Berglund
757eea2779
Update email address
2016-06-01 21:25:20 +02:00
Camilla Berglund
1b1ef31228
Make tests and examples use glad
2015-10-14 12:38:18 +02:00
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
2015-10-13 00:46:02 +02:00
Camilla Berglund
dd01dd7bef
Replace GLU with linmath.h in examples
2015-08-09 16:54:19 +02:00
Camilla Berglund
d2113dc9f5
Remove ad-hoc M_PIs and enable VC++ macro
...
Fixes #564 .
2015-08-09 13:57:04 +02:00
Camilla Berglund
7935a366f4
Fixed particles example on Retina displays.
2015-06-12 03:13:36 +02:00
Camilla Berglund
839721b926
Fixed VC++ warnings.
2014-08-15 13:03:06 +02:00
Camilla Berglund
54fac457bf
Removed unused -s option.
2014-02-13 13:30:15 +01:00
Camilla Berglund
fe05515f43
Fixed uses of relative time for cnd_timedwait.
2014-01-11 22:13:03 +01:00
Camilla Berglund
89627e4cd0
Cleaned up particles example.
2014-01-11 21:29:58 +01:00
Camilla Berglund
457403586d
Replaced ad-hoc argument processing with getopt.
2014-01-11 20:39:53 +01:00
Camilla Berglund
3f9117ef85
Formatted particles example.
2014-01-11 20:33:20 +01:00
Camilla Berglund
d9f53c78a0
Plain port of particles example to GLFW 3.
2014-01-11 19:40:44 +01:00
Camilla Berglund
e38740d6ef
Added GLFW 2 particles example.
2014-01-11 19:37:01 +01:00
Camilla Berglund
74f5cd6fa7
Removed unused example files.
2012-08-29 16:12:44 +02:00
Camilla Berglund
aff30d0baa
Renamed window creation/destruction functions.
...
Renamed glfwOpenWindow to glfwCreateWindow.
Renamed glfwCloseWindow to glfwDestroyWindow.
Renamed glfwOpenWindowHint to glfwWindowHint.
2012-08-06 17:59:34 +02:00
Camilla Berglund
3249f812d6
Initial import of 2.7 Lite.
2010-09-07 17:34:51 +02:00