Re: Improve SDL2 graphics API

Sam Lantinga <[email protected]>
Newsgroups gmane.comp.lib.sdl
Message-ID <CACC3sbHfW8_EU3bR=w7btZRmh6R-KbkF7Hft5WMbnt_cUQq-sQ@mail.gmail.com>
What if you leave vsync enabled but just add a delay? It sounds like you're
running hot and getting throttled by the OS or the driver.

On Mon, Sep 12, 2016 at 3:33 PM, sgrsgsrg <[email protected]> wrote:

> I have some news.
>
> It's definitely a vSync problem.
>
> If i disable vsync and set a SDL_Delay(1) in my main loop the rendering is
> as smooth as when i used SDL2 renderer.
>
> If i dont put any delay, the app renders at like 0.2 FPS
>
> Any idea ?
>
> _______________________________________________
> SDL mailing list
> [email protected]
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>

_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.