X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Fcutscene.cpp;h=b119f5e0054c7440b374c0e4ade0e02754e14dbe;hb=acf6c1044be2667ee799327e350f0d890bd55fb8;hp=1952bb7c8db7fa223dceb2d28c4050b317c071e4;hpb=d581939511f482a3bfdaba7f6470de8939e6cd5e;p=quix0rs-blobwars.git diff --git a/src/cutscene.cpp b/src/cutscene.cpp index 1952bb7..b119f5e 100644 --- a/src/cutscene.cpp +++ b/src/cutscene.cpp @@ -1,5 +1,6 @@ /* -Copyright (C) 2004 Parallel Realities +Copyright (C) 2004-2011 Parallel Realities +Copyright (C) 2011-2015 Perpendicular Dimensions This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -135,7 +136,7 @@ void showScene(bool allowSkip) float panelAlpha = 0; - SDL_SetAlpha(panel, SDL_SRCALPHA|SDL_RLEACCEL, 0); + SDL_SetAlpha(panel, 0); engine.clearInput(); engine.flushInput(); @@ -164,10 +165,10 @@ void showScene(bool allowSkip) if (panelAlpha < 256) { panelAlpha += (1 * engine.getTimeDifference()); - SDL_SetAlpha(panel, SDL_SRCALPHA|SDL_RLEACCEL, (int)panelAlpha); + SDL_SetAlpha(panel, panelAlpha); if (image != NULL) { - SDL_SetAlpha(image, SDL_SRCALPHA|SDL_RLEACCEL, (int)panelAlpha); + SDL_SetAlpha(image, panelAlpha); graphics.blit(image, 0, 0, graphics.screen, false); } graphics.blit(panel, 0, 390, graphics.screen, false);