Fix MinTerm defines for SDK 53.29
This commit is contained in:
parent
33eb8d3324
commit
a73d53845c
|
@ -1689,7 +1689,7 @@ static void gui_window_set_icon(struct gui_window *g, hlcache_handle *icon)
|
|||
} else {
|
||||
tag = BLITA_MaskPlane;
|
||||
tag_data = (ULONG)ami_bitmap_get_mask(icon_bitmap, 16, 16, bm);
|
||||
minterm = (ABC|ABNC|ANBC);
|
||||
minterm = MINTERM_SRCMASK;
|
||||
}
|
||||
|
||||
if(ami_gui_get_space_box((Object *)g->shared->objects[GID_ICON], &bbox) != NSERROR_OK) {
|
||||
|
|
|
@ -119,6 +119,9 @@
|
|||
#define GetFontEnd End
|
||||
#define GetScreenModeEnd End
|
||||
|
||||
/* MinTerm stuff */
|
||||
#define MINTERM_SRCMASK (ABC|ABNC|ANBC)
|
||||
|
||||
/* Easy compat macros */
|
||||
/* application */
|
||||
#define Notify(...) (void)0
|
||||
|
|
|
@ -558,7 +558,7 @@ static bool ami_bitmap(int x, int y, int width, int height, struct bitmap *bitma
|
|||
} else {
|
||||
tag = BLITA_MaskPlane;
|
||||
if((tag_data = (ULONG)ami_bitmap_get_mask(bitmap, width, height, tbm)))
|
||||
minterm = (ABC|ABNC|ANBC);
|
||||
minterm = MINTERM_SRCMASK;
|
||||
}
|
||||
#ifdef __amigaos4__
|
||||
BltBitMapTags(BLITA_Width,width,
|
||||
|
@ -759,7 +759,7 @@ static void ami_bitmap_tile_hook(struct Hook *hook,struct RastPort *rp,struct Ba
|
|||
} else {
|
||||
tag = BLITA_MaskPlane;
|
||||
if((tag_data = (ULONG)bfbm->mask))
|
||||
minterm = (ABC|ABNC|ANBC);
|
||||
minterm = MINTERM_SRCMASK;
|
||||
}
|
||||
|
||||
BltBitMapTags(BLITA_Width, bfbm->width,
|
||||
|
|
Loading…
Reference in New Issue