mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +03:00
Correct calling usage of BltMaskBitMapRastPort
Thanks to Matthey for the debugging
This commit is contained in:
parent
f7c2971be3
commit
9ac9866521
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user