From: Brian Paul Date: Mon, 8 Sep 2003 15:23:55 +0000 (+0000) Subject: fix timer bug (801485) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a363f4e87742680ac9193c3a276f5e93ac6adef;p=mesa.git fix timer bug (801485) --- 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)