Skip to content

Commit

Permalink
Fixed alpha blending bug (thanks Glenn!)
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 22, 2002
1 parent 7db4fce commit ad3118a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/SDL_blit.h
Expand Up @@ -330,7 +330,7 @@ do { \
pixel = ((r>>fmt->Rloss)<<fmt->Rshift)| \
((g>>fmt->Gloss)<<fmt->Gshift)| \
((b>>fmt->Bloss)<<fmt->Bshift)| \
((a<<fmt->Aloss)<<fmt->Ashift); \
((a>>fmt->Aloss)<<fmt->Ashift); \
}
#define ASSEMBLE_RGBA(buf, bpp, fmt, r, g, b, a) \
{ \
Expand Down

0 comments on commit ad3118a

Please sign in to comment.