diff --git a/freeglut/freeglut/src/fg_main.c b/freeglut/freeglut/src/fg_main.c index fd94e0e..414fa1c 100644 --- a/freeglut/freeglut/src/fg_main.c +++ b/freeglut/freeglut/src/fg_main.c @@ -221,6 +221,7 @@ static void fghCheckTimers( void ) SFG_Timer *timer = fgState.Timers.First; if( timer->TriggerTime > checkTime ) + /* XXX: are timers always sorted by triggerTime? If not, this and fghNextTimer are wrong */ break; fgListRemove( &fgState.Timers, &timer->Node );