[SDL] Flickering DX.
David Olofson
david at olofson.net
Mon Nov 5 11:27:29 PST 2007
On Monday 05 November 2007, Miguel Pragier wrote:
[...]
> The screen keeps blinking.
> And blinking hard!
This sounds like the typical result of setting up a double buffered
display, drawing something and then going into a loop, flipping.
Basically, you need to draw stuff twice, or it'll only be visible
every other frame, creating massive flickering.
//David Olofson - Programmer, Composer, Open Source Advocate
.------- http://olofson.net - Games, SDL examples -------.
| http://zeespace.net - 2.5D rendering engine |
| http://audiality.org - Music/audio engine |
| http://eel.olofson.net - Real time scripting |
'-- http://www.reologica.se - Rheology instrumentation --'
More information about the SDL
mailing list