mirror of
https://github.com/yawut/SDL.git
synced 2026-08-22 16:55:29 -05:00
Fixed alpha blending bug (thanks Glenn!)
This commit is contained in:
@@ -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) \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user