indent
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402622
This commit is contained in:
parent
8f8c80446d
commit
4d9ae37508
5 changed files with 9 additions and 9 deletions
|
@ -286,7 +286,7 @@ SDL_SetAlpha(SDL_Surface * surface, Uint32 flag, Uint8 value)
|
|||
if (flag) {
|
||||
surface->flags |= SDL_SRCALPHA;
|
||||
surface->map->cmod &= 0x00FFFFFF;
|
||||
surface->map->cmod |= ((Uint32)value << 24);
|
||||
surface->map->cmod |= ((Uint32) value << 24);
|
||||
if (flag & SDL_RLEACCELOK) {
|
||||
surface->flags |= SDL_RLEACCELOK;
|
||||
} else {
|
||||
|
@ -611,7 +611,7 @@ SDL_ConvertSurface(SDL_Surface * surface,
|
|||
if (format->Amask) {
|
||||
surface->flags &= ~SDL_SRCALPHA;
|
||||
} else {
|
||||
alpha = (Uint8)(surface->map->cmod >> 24);
|
||||
alpha = (Uint8) (surface->map->cmod >> 24);
|
||||
SDL_SetAlpha(surface, 0, 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue