summaryrefslogtreecommitdiff
path: root/amiga/plotters.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-11 17:19:54 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-08-11 17:19:54 +0100
commit59784ba8528182089c77e710f5ff31b3c78d6dc1 (patch)
treec075c69c7651d59d186a34eab78a24c1f6aa3d3c /amiga/plotters.c
parent0210ef066b75da6ff2a91b5de9ad6d3f583548f2 (diff)
downloadnetsurf-59784ba8528182089c77e710f5ff31b3c78d6dc1.tar.gz
netsurf-59784ba8528182089c77e710f5ff31b3c78d6dc1.tar.bz2
fix mask
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-xamiga/plotters.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c
index f12ef1ae1..9d86fdeb2 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -678,7 +678,7 @@ static bool ami_bitmap(int x, int y, int width, int height, struct bitmap *bitma
minterm = 0xc0;
} else {
tag = BLITA_MaskPlane;
- if(tag_data = (ULONG)ami_bitmap_get_mask(bitmap, width, height))
+ if(tag_data = (ULONG)ami_bitmap_get_mask(bitmap, width, height, tbm))
minterm = (ABC|ABNC|ANBC);
}
@@ -782,7 +782,7 @@ bool ami_bitmap_tile(int x, int y, int width, int height,
bfbm.height = height;
bfbm.offsetx = ox;
bfbm.offsety = oy;
- bfbm.mask = ami_bitmap_get_mask(bitmap, width, height);;
+ bfbm.mask = ami_bitmap_get_mask(bitmap, width, height, tbm);
bfh = AllocVec(sizeof(struct Hook),MEMF_CLEAR);
bfh->h_Entry = (HOOKFUNC)ami_bitmap_tile_hook;
bfh->h_SubEntry = 0;