Mercurial > sdl-ios-xcode
diff src/video/SDL_pixels.c @ 695:8f579a0e17e6
Whitespace
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 27 Aug 2003 04:53:40 +0000 |
parents | c0522010bb6d |
children | b8d311d90021 |
line wrap: on
line diff
--- a/src/video/SDL_pixels.c Sat Aug 23 23:46:12 2003 +0000 +++ b/src/video/SDL_pixels.c Wed Aug 27 04:53:40 2003 +0000 @@ -389,8 +389,9 @@ if(fmt->Amask) { v = (pixel & fmt->Amask) >> fmt->Ashift; *a = (v << fmt->Aloss) + (v >> (8 - (fmt->Aloss << 1))); - } else + } else { *a = SDL_ALPHA_OPAQUE; + } } else { *r = fmt->palette->colors[pixel].r; *g = fmt->palette->colors[pixel].g;