[SDL] Perfomance problem with SDL+OpenGL
Simon Roby
simon.roby at gmail.com
Sun Dec 3 11:56:14 PST 2006
On 12/3/06, Phantom Lord <thephantomlord at gmail.com> wrote:
> So, if i deactivate vsync, there wont be that perfomance problem (that is
> not a problem, but a method)?.
This is not a performance problem! Vertical retrace syncing (aka.
vsync) prevents your program from updating the screen more often than
it is refreshed on your display. This is a *good* thing. If your
display runs at a refresh rate of 80Hz, it is pointless to produce
more than 80 frames per second, as it only wastes computing resources.
--
- SR
More information about the SDL
mailing list