From: Ricardo Cruz Date: Sat, 1 May 2004 11:25:45 +0000 (+0000) Subject: Just use flipscreen(), instead of giving true as update argument. This update thing... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=46c2ebf6443163ef32332e4d61236eb9ae051975;p=supertux.git Just use flipscreen(), instead of giving true as update argument. This update thing seems broken. Anyway, still doesn't work. SVN-Revision: 888 --- diff --git a/src/screen.cpp b/src/screen.cpp index 18e84892e..df1b53f0e 100644 --- a/src/screen.cpp +++ b/src/screen.cpp @@ -122,11 +122,12 @@ else while(alpha >= 0 && alpha < 256) { + surface->draw(0,0,(int)alpha); + flipscreen(); + old_time = cur_time; cur_time = SDL_GetTicks(); - surface->draw(0,0,(int)alpha, true); - /* Calculate the next alpha value */ float calc = (float) ((cur_time - old_time) / seconds); if(fade_out)