src/video/SDL_pixels.c
changeset 695 8f579a0e17e6
parent 688 c0522010bb6d
child 769 b8d311d90021
     1.1 --- a/src/video/SDL_pixels.c	Sat Aug 23 23:46:12 2003 +0000
     1.2 +++ b/src/video/SDL_pixels.c	Wed Aug 27 04:53:40 2003 +0000
     1.3 @@ -389,8 +389,9 @@
     1.4  		if(fmt->Amask) {
     1.5  		        v = (pixel & fmt->Amask) >> fmt->Ashift;
     1.6  			*a = (v << fmt->Aloss) + (v >> (8 - (fmt->Aloss << 1)));
     1.7 -		} else
     1.8 +		} else {
     1.9  		        *a = SDL_ALPHA_OPAQUE;
    1.10 +                }
    1.11  	} else {
    1.12  		*r = fmt->palette->colors[pixel].r;
    1.13  		*g = fmt->palette->colors[pixel].g;