projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f50219f
)
comment on timer checking, are timers always sorted by triggertime? Else the code...
author
Diederick Niehorster
<dcnieho@gmail.com>
Wed, 6 Mar 2013 03:50:14 +0000
(
03:50
+0000)
committer
Diederick Niehorster
<dcnieho@gmail.com>
Wed, 6 Mar 2013 03:50:14 +0000
(
03:50
+0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1555
7f0cb862
-5218-0410-a997-
914c9d46530a
src/fg_main.c
patch
|
blob
|
history
diff --git
a/src/fg_main.c
b/src/fg_main.c
index
fd94e0e
..
414fa1c
100644
(file)
--- a/
src/fg_main.c
+++ b/
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 );