summaryrefslogtreecommitdiff
path: root/src/glut
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-09-08 15:23:55 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-09-08 15:23:55 +0000
commit0a363f4e87742680ac9193c3a276f5e93ac6adef (patch)
treeb7c13debf4768158ce800991601b7e63a894bdb7 /src/glut
parent50253ea0a3d9fb4a4f0436825cdb37616be6f238 (diff)
fix timer bug (801485)
Diffstat (limited to 'src/glut')
-rw-r--r--src/glut/glx/glut_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glut/glx/glut_event.c b/src/glut/glx/glut_event.c
index 0b65cf3039..e453fe0389 100644
--- a/src/glut/glx/glut_event.c
+++ b/src/glut/glx/glut_event.c
@@ -172,8 +172,8 @@ handleTimeouts(void)
GETTIMEOFDAY(&now);
while (IS_AT_OR_AFTER(__glutTimerList->timeout, now)) {
timer = __glutTimerList;
- timer->func(timer->value);
__glutTimerList = timer->next;
+ timer->func(timer->value);
timer->next = freeTimerList;
freeTimerList = timer;
if (!__glutTimerList)