This commit is contained in:
Chris Young 2012-08-10 18:11:42 +01:00
parent c456153e90
commit a0b344afe6

View File

@ -495,8 +495,8 @@ static PLANEPTR ami_bitmap_get_mask(struct bitmap *bitmap, int width, int height
for(y=0; y<height; y++) {
for(x=0; x<width; x++) {
if ((*bmi & 0x000000ffU) == 0x00000000U) maskbit = 1;
else maskbit = 0;
if ((*bmi & 0x000000ffU) == 0x00000000U) maskbit = 0;
else maskbit = 1;
bmi++;
bitmap->native_mask[(y*(width/8)) + (x/8)] =
(bitmap->native_mask[(y*(width/8)) + (x/8)] << 1) | maskbit;