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