diff --git a/src/video/SDL_blit.h b/src/video/SDL_blit.h index fae367b28..605496f7f 100644 --- a/src/video/SDL_blit.h +++ b/src/video/SDL_blit.h @@ -330,7 +330,7 @@ do { \ pixel = ((r>>fmt->Rloss)<Rshift)| \ ((g>>fmt->Gloss)<Gshift)| \ ((b>>fmt->Bloss)<Bshift)| \ - ((a<Aloss)<Ashift); \ + ((a>>fmt->Aloss)<Ashift); \ } #define ASSEMBLE_RGBA(buf, bpp, fmt, r, g, b, a) \ { \