Fixed alpha blending bug (thanks Glenn!)
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40536
This commit is contained in:
parent
c3d2c29754
commit
c78b556d00
1 changed files with 1 additions and 1 deletions
|
@ -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) \
|
||||
{ \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue