/*
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
float panelAlpha = 0;
- SDL_SetAlpha(panel, SDL_SRCALPHA|SDL_RLEACCEL, 0);
+ SDL_SetAlpha(panel, 0);
engine.clearInput();
engine.flushInput();
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);