From 59784ba8528182089c77e710f5ff31b3c78d6dc1 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 11 Aug 2012 17:19:54 +0100 Subject: fix mask --- amiga/plotters.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga/plotters.c') 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; -- cgit v1.2.3