From 9ff65d74269fadbbd30c8ade0c31e53988352940 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 5 Oct 2013 11:27:05 +0100 Subject: tidy up --- amiga/bitmap.c | 2 +- amiga/plotters.c | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'amiga') 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, -- cgit v1.2.3