[SDL] Repeating timers

Mason Wheeler masonwheeler at yahoo.com
Fri Apr 10 11:24:36 PDT 2009

>----- Original Message ----

>From: Jonathan Dearborn <grimfang4 at gmail.com>
>Subject: Re: [SDL] Repeating timers
>Oh, I see.  It does seem ambiguous, but I'm not currently in a
>position to test whether the new timer starts at 'oldStart +
>newInterval' or 'oldEnd + newInterval'.

Yeah.  And that can be a pretty significant difference if you're doing
anything that requires a high-precision game timer in the first
place.  (BTW what's up with the 10 ms resolution thing? That's
not all that high-precision, when you can set 33 FPS or 50 FPS
but nothing in between...)

More information about the SDL mailing list