[SDL] vsync

Vittorio G. vitto.giova at yahoo.it
Tue Feb 16 01:53:42 PST 2010


Hello,
vsync is auto enabled since sdl 1.3
for sdl 1.2 you have to use

		SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 1);

to activate it.
bye
Vittorio
Ted Turner <http://www.brainyquote.com/quotes/authors/t/ted_turner.html>  -
"Sports is like a war without the killing."

On Tue, Feb 16, 2010 at 10:48 AM, mandarx <mandarx at gmail.com> wrote:

>  Hello, I hope it's not a faq. [image: Embarassed]
>
> Is vsync enabled by default or do I have to enable it ?
>
> If I do, how ?
>
> (I do not use OpenGL)
>
> thank you MandarX
>
>
> ------------------------------
>
> http://mandarx.xoom.it/index.php?lang=eng
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20100216/342dcc95/attachment-0007.htm>


More information about the SDL mailing list