SetAlphaMod is not supported by GLES renderer, fixed surface image

This commit is contained in:
pelya
2010-07-09 19:10:45 +03:00
parent d63f1ae92e
commit 2c815708a9
2 changed files with 1 additions and 1 deletions

View File

@@ -650,7 +650,7 @@ void Game::drawNukeEffect() {
int timeFromMaximum = (NUKE_EFFECT_DURATION / 2) - (timeNukeEnd - SDL_GetTicks());
timeFromMaximum = abs(timeFromMaximum);
SDL_SetAlpha( nukeEffectSurface, SDL_SRCALPHA | SDL_RLEACCEL,
SDL_SetAlpha( nukeEffectSurface, SDL_SRCALPHA,
lroundf(((NUKE_EFFECT_DURATION / 2) - timeFromMaximum) * 128.0 /
(NUKE_EFFECT_DURATION / 2)) );

Binary file not shown.