disable mask for now, causing colourisation problems

This commit is contained in:
Chris Young 2012-08-05 16:02:25 +01:00
parent 803970589b
commit 59af85e0b5
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ struct bitmap {
struct BitMap *nativebm;
int nativebmwidth;
int nativebmheight;
APTR native_mask;
PLANEPTR native_mask;
Object *dto;
char *url; /* temporary storage space */
char *title; /* temporary storage space */

View File

@ -661,7 +661,7 @@ static bool ami_bitmap(int x, int y, int width, int height, struct bitmap *bitma
} else {
tag = BLITA_MaskPlane;
tag_data = (ULONG)bitmap->native_mask;
minterm = (ABC|ABNC|ANBC);
minterm = 0xc0; /* Should be (ABC|ABNC|ANBC) */
}
BltBitMapTags(BLITA_Width,width,
@ -826,7 +826,7 @@ static void ami_bitmap_tile_hook(struct Hook *hook,struct RastPort *rp,struct Ba
} else {
tag = BLITA_MaskPlane;
tag_data = (ULONG)bfbm->mask;
minterm = (ABC|ABNC|ANBC);
minterm = 0xc0; /* Should be (ABC|ABNC|ANBC) */
}
BltBitMapTags(BLITA_Width, bfbm->width,