[SDL] framerate counter

Timo K Suoranta tksuoran at cc.helsinki.fi
Thu Apr 5 02:00:37 PDT 2001


> > since SDL_Delay() typically has ~10 ms granularity, SDL_GetTicks()
...

> Also, 25 fps is only 40ms and 50 is 20ms, so, with a 10ms
> resolution timer, you could have a lot of aliasing in the

I got my program running at over 1000 fps. Guess what sdl timer
resolution thought about that...

(...actually it was my friend with P4 @ 1.5GHz and a nice GeForce...)


-- Timo Suoranta -- tksuoran at cc.helsinki.fi --




More information about the SDL mailing list