From 0a363f4e87742680ac9193c3a276f5e93ac6adef Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 8 Sep 2003 15:23:55 +0000 Subject: fix timer bug (801485) --- src/glut/glx/glut_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3