[SDL] Framerate locked (at vsync rate, i think)
Glenn Maynard
g_sdl at zewt.org
Thu Nov 28 15:50:03 PST 2002
On Thu, Nov 28, 2002 at 01:22:27PM -0500, Jimmy wrote:
> I think it has already been said, but it's worth saying again. Don't.
> It's not broke. There is 'zero' point in refreshing faster than the
> monitor can show.
It should be mentioned that there *are* cases where you don't want
vsync:
If you're locked to vsync at 70Hz, and your hardware is capable of only
60 FPS, you'll end up getting 35 FPS, since each frame waits for two
refreshes instead of one. For many games, 60 FPS with a little tearing
is better than 35 FPS.
Triple-buffering avoids this problem. (Of course, MS has made sure it's
impossible to get triple-buffering in OpenGL in Windows without driver
hacks ...)
--
Glenn Maynard
More information about the SDL
mailing list