Hi all, I'm using Fl (v1.3) timeout functions to get accurate frame rate control under Windows. I followed the documentation to use Fl::add_timeout and Fl::repeat_timeout with the same time interval, e.g. 30 milliseconds. However, the callback function is not executed at the expected intervals. I used QueryPerformanceCount to get the execution time and found that FLTK's timeout function is always behind my expected intervals, say around 35 msecs to 40 msecs. Even if I decrease the time interval to an insane value, FLTK can only reach up to ~40fps. Is this a bug or the limitation of the current version (v1.3)? Will v2.0 do better on this?
Thanks for your comments and/or suggestions in advance! _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
