mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 23:09:39 +03:00
disable mask for now, causing colourisation problems
This commit is contained in:
parent
803970589b
commit
59af85e0b5
@ -35,7 +35,7 @@ struct bitmap {
|
|||||||
struct BitMap *nativebm;
|
struct BitMap *nativebm;
|
||||||
int nativebmwidth;
|
int nativebmwidth;
|
||||||
int nativebmheight;
|
int nativebmheight;
|
||||||
APTR native_mask;
|
PLANEPTR native_mask;
|
||||||
Object *dto;
|
Object *dto;
|
||||||
char *url; /* temporary storage space */
|
char *url; /* temporary storage space */
|
||||||
char *title; /* temporary storage space */
|
char *title; /* temporary storage space */
|
||||||
|
@ -661,7 +661,7 @@ static bool ami_bitmap(int x, int y, int width, int height, struct bitmap *bitma
|
|||||||
} else {
|
} else {
|
||||||
tag = BLITA_MaskPlane;
|
tag = BLITA_MaskPlane;
|
||||||
tag_data = (ULONG)bitmap->native_mask;
|
tag_data = (ULONG)bitmap->native_mask;
|
||||||
minterm = (ABC|ABNC|ANBC);
|
minterm = 0xc0; /* Should be (ABC|ABNC|ANBC) */
|
||||||
}
|
}
|
||||||
|
|
||||||
BltBitMapTags(BLITA_Width,width,
|
BltBitMapTags(BLITA_Width,width,
|
||||||
@ -826,7 +826,7 @@ static void ami_bitmap_tile_hook(struct Hook *hook,struct RastPort *rp,struct Ba
|
|||||||
} else {
|
} else {
|
||||||
tag = BLITA_MaskPlane;
|
tag = BLITA_MaskPlane;
|
||||||
tag_data = (ULONG)bfbm->mask;
|
tag_data = (ULONG)bfbm->mask;
|
||||||
minterm = (ABC|ABNC|ANBC);
|
minterm = 0xc0; /* Should be (ABC|ABNC|ANBC) */
|
||||||
}
|
}
|
||||||
|
|
||||||
BltBitMapTags(BLITA_Width, bfbm->width,
|
BltBitMapTags(BLITA_Width, bfbm->width,
|
||||||
|
Loading…
Reference in New Issue
Block a user