Fix color keys.

This commit is contained in:
Guus Sliepen 2013-10-01 14:33:33 +02:00
parent 593ea01386
commit b285643a82
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ void initGraphics()
SDL_Surface *setTransparent(SDL_Surface *sprite)
{
SDL_SetColorKey(sprite, (SDL_TRUE|SDL_RLEACCEL), SDL_MapRGB(sprite->format, 0, 0, 0));
SDL_SetColorKey(sprite, SDL_TRUE, SDL_MapRGB(sprite->format, 0, 0, 0));
return sprite;
}

View File

@ -116,7 +116,7 @@ void loadGameGraphics()
}
}
SDL_SetColorKey(shipShape[i], (SDL_TRUE|SDL_RLEACCEL), SDL_MapRGB(shipShape[i]->format, 0, 0, 0));
SDL_SetColorKey(shipShape[i], SDL_TRUE, SDL_MapRGB(shipShape[i]->format, 0, 0, 0));
}
strcpy(string, "data/resources_all.dat");