Draw windows's background only when needed.
commit70b0492bf2e492414594568bcc634cf05fabfaf1
authorBartosz Taudul <wolf.pld@gmail.com>
Sun, 20 Jul 2008 10:20:01 +0000 (20 12:20 +0200)
committerBartosz Taudul <wolf.pld@gmail.com>
Sun, 20 Jul 2008 18:30:04 +0000 (20 20:30 +0200)
tree36cf7995ec4a4b6a6e233cc6fca8db1e9df3ce57
parentc035f9af0eaa75620b7671d5ba3cf5a2dd8a72f3
Draw windows's background only when needed.

Draw background only when needed. When game is drawing its content to
the screen, drawing anything underneath is just a waste of processing
power. This kind of ressurects an old code, but this time it actually
works.

Empty CSDLWin::Draw() shows nice background wallpaper just after start,
but when something like screensaver had drawn on the screen, it is not
cleared and looks bad.
src/main/symbian/sdlexe.cpp