summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-31 20:01:35 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-31 20:01:35 +0000
commit9ac9866521e48933389dcf05f1ec5523f36b3435 (patch)
tree1e86a5ad35e53346d68215931f643e1a224d98eb
parentf7c2971be3a4e9b4b9eabae6386de07a5172be13 (diff)
downloadnetsurf-9ac9866521e48933389dcf05f1ec5523f36b3435.tar.gz
netsurf-9ac9866521e48933389dcf05f1ec5523f36b3435.tar.bz2
Correct calling usage of BltMaskBitMapRastPort
Thanks to Matthey for the debugging
-rw-r--r--amiga/gui.c2
-rwxr-xr-xamiga/plotters.c2
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
}