summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-09-08 15:23:55 +0000
committerBrian Paul <[email protected]>2003-09-08 15:23:55 +0000
commit0a363f4e87742680ac9193c3a276f5e93ac6adef (patch)
treeb7c13debf4768158ce800991601b7e63a894bdb7 /src
parent50253ea0a3d9fb4a4f0436825cdb37616be6f238 (diff)
fix timer bug (801485)
Diffstat (limited to 'src')
-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 0b65cf3039a..e453fe03893 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)