fix timer bug (801485)

This commit is contained in:
Brian Paul 2003-09-08 15:23:55 +00:00
parent 50253ea0a3
commit 0a363f4e87
1 changed files with 1 additions and 1 deletions

View File

@ -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)