Skip to content
Permalink
Browse files

Whitespace

  • Loading branch information
slouken committed Aug 27, 2003
1 parent 0f8597c commit 1ce3ade01bd1724ed05a9eaafbe37b6f14869254
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/video/SDL_pixels.c
@@ -389,8 +389,9 @@ void SDL_GetRGBA(Uint32 pixel, SDL_PixelFormat *fmt,
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;

0 comments on commit 1ce3ade

Please sign in to comment.