Double buffering

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.nethttp://www.reologica.se —On Monday 26 May 2003 21.55, shimrod wrote:

hello,

Someone can explain me the using of SDL_FLIP and double buffering
with SDL?

http://linux.oreillynet.com/pub/a/linux/2003/05/15/sdl_anim.html?page=last&x-showcontent=text#threadOn Mon, 2003-05-26 at 14:55, shimrod wrote:

hello,

Someone can explain me the using of SDL_FLIP and double buffering with
SDL?


±----------------------------------+

  • Bob Pendleton: independent writer +
  • and programmer. +
  • email: Bob at Pendleton.com +
    ±----------------------------------+