From: Diederick C. N. <dc...@gm...> - 2012-03-12 05:09:46
|
Hi john, On Mon, Mar 12, 2012 at 12:16, John F. Fay <joh...@cy...> wrote: > OK, I built the whole thing. I tried running the timer demo and it > didn't work, but then it never has worked. I need to move the call to > "glutTimerFunc" into the timer function itself (and add it to the main > program) because the display callback is triggered by other things in > addition to calls to "glutPostRedisplay". Good to hear! Funny, that demo works fine for me. What you are saying makes sense for correct operation of a timer (reschedule itself after it expired). Maybe we should make that change to the demo, what do you think John T.? Best, Dee |