[SDL] double buffering
David Olofson
david at olofson.net
Mon May 26 14:06:01 PDT 2003
On Monday 26 May 2003 21.55, shimrod wrote:
> hello,
>
> Someone can explain me the using of SDL_FLIP and double buffering
> with SDL?
Well, set up a double buffered display (SDL_DOUBLEBUF), and then
1) Draw some stuff
2) SDL_Flip()
3) Loop.
Just the other day, I posted a rather thorough explanation of sprite
rendering and the different kinds of double buffering you may have to
deal with. Check the archive.
//David Olofson - Programmer, Composer, Open Source Advocate
.- The Return of Audiality! --------------------------------.
| Free/Open Source Audio Engine for use in Games or Studio. |
| RT and off-line synth. Scripting. Sample accurate timing. |
`-----------------------------------> http://audiality.org -'
--- http://olofson.net --- http://www.reologica.se ---
More information about the SDL
mailing list