[SDL] SDL_GL_SwapBuffers() appears slow
s.beschke at gmx.de
Wed Feb 25 08:22:45 PST 2004
Matt Wilson wrote:
>On Thu, 2004-02-19 at 21:28, Gerald wrote:
>>When I remove the SDL_GL_SwapBuffers(), I get 1000 FPS. Why is
>>SDL_GL_SwapBuffers() slowing things down that much?
>There are various ways to turn vsync
>off, depending on your hardware, Google is your friend.
However, you shouldn't turn vsync off, except for testing purposes. Your
monitor won't display more frames without vsync, but it can cause tearing.
This has also been discussed in the recent past.
More information about the SDL