From 9ac9866521e48933389dcf05f1ec5523f36b3435 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 31 Jan 2015 20:01:35 +0000 Subject: [PATCH] Correct calling usage of BltMaskBitMapRastPort Thanks to Matthey for the debugging --- amiga/gui.c | 2 +- amiga/plotters.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/amiga/gui.c b/amiga/gui.c index fddf4ab0e..884f263b3 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -1713,7 +1713,7 @@ static void gui_window_set_icon(struct gui_window *g, hlcache_handle *icon) #else /*\todo we are assuming we are always masking here, which might not be true */ BltMaskBitMapRastPort(bm, 0, 0, g->shared->win->RPort, - bbox->Left, bbox->Top, 16, 16, tag_data, minterm); + bbox->Left, bbox->Top, 16, 16, minterm, tag_data); #endif ami_gui_free_space_box(bbox); } diff --git a/amiga/plotters.c b/amiga/plotters.c index 2952f108e..6bb4243d3 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -543,7 +543,7 @@ static bool ami_bitmap(int x, int y, int width, int height, struct bitmap *bitma TAG_DONE); #else /* Assume mask is always required */ - BltMaskBitMapRastPort(tbm, 0, 0, glob->rp, x, y, width, height, tag_data, minterm); + BltMaskBitMapRastPort(tbm, 0, 0, glob->rp, x, y, width, height, minterm, tag_data); #endif }