diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-10-05 11:27:05 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-10-05 11:27:05 +0100 |
commit | 9ff65d74269fadbbd30c8ade0c31e53988352940 (patch) | |
tree | 59f8f39bedb6ba0d36ae83ec091d2f2a934de274 | |
parent | a06cb9f05cc4f3ad9e92a8f4c1f4dbd3d3d8fd85 (diff) | |
download | netsurf-9ff65d74269fadbbd30c8ade0c31e53988352940.tar.gz netsurf-9ff65d74269fadbbd30c8ade0c31e53988352940.tar.bz2 |
tidy up
-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, |