From 46c2ebf6443163ef32332e4d61236eb9ae051975 Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Sat, 1 May 2004 11:25:45 +0000 Subject: [PATCH] Just use flipscreen(), instead of giving true as update argument. This update thing seems broken. Anyway, still doesn't work. SVN-Revision: 888 --- src/screen.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.11.0