Why are we not premultiplying our ARGB bitmaps...

This commit is contained in:
K. Lange 2018-04-21 16:28:38 +09:00 committed by Kevin Lange
parent 48267d0c8d
commit 64f2fa083e

View File

@ -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 */