mirror of
https://github.com/yawut/SDL.git
synced 2026-08-22 00:35:18 -05:00
Whitespace
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user