[AD] Suggestion: don't clear screen on iPhone

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


When a display is created now it is always cleared to black and then the buffer is flipped so a
black frame appears on the screen. However, on iPhone, this is a problem. On iphone there is
something called "Default.png" which is displayed before your app gets to display anything. It
should usually be a graphic that looks like the first frame will look when your program actually
starts running. So what happens is default.png is zoomed into view and remains a few seconds, then
the screen flashes to black, then your own code takes over and you draw your loading screen or
whatever. The flash of black is the problem. I would like to remove the clear and flip in
display_new.c only for the iphone port. Any problems with this?


Trent :-)




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/