Skip to content
Permalink
Browse files

Fixed alpha blending bug (thanks Glenn!)

  • Loading branch information
slouken committed Oct 22, 2002
1 parent 7db4fce commit ad3118a1a11d179fdb487a25021562c0acaebd3d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/SDL_blit.h
@@ -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) \
{ \

0 comments on commit ad3118a

Please sign in to comment.