summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-05 16:02:25 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-05 16:02:25 +0100
commit59af85e0b50f7343fe7c867cdb8cb868d7aac58f (patch)
treeae122440758c13780f9da014bfd7c64568e3e9b9 /amiga
parent803970589b1a8516686481f6ef3b6456d46fceb2 (diff)
downloadnetsurf-59af85e0b50f7343fe7c867cdb8cb868d7aac58f.tar.gz
netsurf-59af85e0b50f7343fe7c867cdb8cb868d7aac58f.tar.bz2
disable mask for now, causing colourisation problems
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/bitmap.h2
-rwxr-xr-xamiga/plotters.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/amiga/bitmap.h b/amiga/bitmap.h
index 3153ee7da..3b6f147ad 100755
--- a/amiga/bitmap.h
+++ b/amiga/bitmap.h
@@ -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 */
diff --git a/amiga/plotters.c b/amiga/plotters.c
index 5c5c7fa13..ab880dbca 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -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,