Why are we not premultiplying our ARGB bitmaps...
This commit is contained in:
parent
48267d0c8d
commit
64f2fa083e
@ -550,6 +550,7 @@ void load_sprite(sprite_t * sprite, char * filename) {
|
||||
(bufferb[i+1 + 4 * x] & 0xFF) * 0x1 +
|
||||
(bufferb[i+2 + 4 * x] & 0xFF) * 0x100 +
|
||||
(bufferb[i+3 + 4 * x] & 0xFF) * 0x10000;
|
||||
color = premultiply(color);
|
||||
}
|
||||
}
|
||||
/* Set our point */
|
||||
|
Loading…
Reference in New Issue
Block a user