Fixed alpha blending bug (thanks Glenn!)

This commit is contained in:
Sam Lantinga 2002-10-22 21:41:21 +00:00
parent 9d462a34f7
commit 1b0f9865ec

View File

@ -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) \
{ \