[SDL] Double buffering waitretrace and flickering

dtabuenc at cs.ucr.edu dtabuenc at cs.ucr.edu
Wed Aug 18 01:19:11 PDT 1999

Perhaps I am totally clueless (or just used to opengl) but I was under
the impression that all writes were to the backbuffer. If not How do
you write to the backbuffer? I am just writing to the surface returned
by SDL_SetVideoMode. How do I reach or write to that back buffer? 

On 18 Aug, Michael Lunnay wrote:
> are you drawing to the back buffer or to the screen. If you are drawing to
> the screen you will still get the screen tearing as you are not wating for
> the vsync of the monitor. you need to do all your work to the back buffer
> and once that is complete you then flip the surface to display the contents.
> hope this helps.

More information about the SDL mailing list