[SDL] Low hw framerates
derethor at thepentagon.com
Thu Jan 11 01:13:41 PST 2001
> >I have a simple app blitting two sprites to a 640x480x16 display. In
> >windowed mode it runs on a software surface (even though i try to set it
> >to a hwsurface) but get ~120fps. Running fullscreen, it has a hardware
> >surface bug gets only 74 fps. Is this normal? All sprites have been
> >converted with DisplayFormat().
> my guess is that you call SDL_Flip() and this synchs to vertical refresh
> in fullscreen mode, and you have a vertical frequency of about 74 Hz.
> It's a feature :)
ups, this answers me a lot of questions! thanks!
derethor of centolos
More information about the SDL