diff options
-rw-r--r-- | amiga/bitmap.c | 2 | ||||
-rwxr-xr-x | amiga/plotters.c | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/amiga/bitmap.c b/amiga/bitmap.c index 6d52bdb54..a3be8a7e7 100644 --- a/amiga/bitmap.c +++ b/amiga/bitmap.c @@ -438,7 +438,7 @@ static struct BitMap *ami_bitmap_get_truecolour(struct bitmap *bitmap,int width, { #ifdef __amigaos4__ uint32 comptype = COMPOSITE_Src; - uint32 flags = 0; //COMPFLAG_IgnoreDestAlpha; + uint32 flags = 0; if(nsoption_bool(scale_quality)) flags |= COMPFLAG_SrcFilter; CompositeTags(comptype,tbm,scaledbm, diff --git a/amiga/plotters.c b/amiga/plotters.c index 8c0a15f75..b2544da93 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -863,11 +863,8 @@ static void ami_bitmap_tile_hook(struct Hook *hook,struct RastPort *rp,struct Ba if((GfxBase->LibNode.lib_Version >= 53) && (palette_mapped == false)) { #ifdef __amigaos4__ - uint32 comptype = COMPOSITE_Src_Over_Dest; - uint32 compflags = COMPFLAG_IgnoreDestAlpha; - - CompositeTags(comptype, bfbm->bm, rp->BitMap, - COMPTAG_Flags, compflags, + CompositeTags(COMPOSITE_Src_Over_Dest, bfbm->bm, rp->BitMap, + COMPTAG_Flags, COMPFLAG_IgnoreDestAlpha, COMPTAG_DestX,bfmsg->Bounds.MinX, COMPTAG_DestY,bfmsg->Bounds.MinY, COMPTAG_DestWidth,bfmsg->Bounds.MaxX - bfmsg->Bounds.MinX + 1, |