diff options
Diffstat (limited to 'src/glut/glx')
-rw-r--r-- | src/glut/glx/glut_event.c | 2 |
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) |