Navigation Menu

Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 27, 2003
1 parent 0f8597c commit 1ce3ade
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/video/SDL_pixels.c
Expand Up @@ -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;
Expand Down

0 comments on commit 1ce3ade

Please sign in to comment.