diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-08-09 21:59:47 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-08-09 21:59:47 +0100 |
commit | e4d2677c80985914b2b37efd5d0a70a1856741b2 (patch) | |
tree | 58d674785310410d5187fe0dda6748e30a155ab0 /amiga/plotters.c | |
parent | 56967bbf0657fb52605f17cb56de595a3e6cf159 (diff) | |
download | netsurf-e4d2677c80985914b2b37efd5d0a70a1856741b2.tar.gz netsurf-e4d2677c80985914b2b37efd5d0a70a1856741b2.tar.bz2 |
first attempt to create our own mask of only wholly transparent pixels.
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-x | amiga/plotters.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c index 66c996e71..721596f02 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -678,9 +678,10 @@ static bool ami_bitmap(int x, int y, int width, int height, struct bitmap *bitma } else { tag = BLITA_MaskPlane; tag_data = (ULONG)bitmap->native_mask; - minterm = 0xc0; /* should be (ABC|ABNC|ANBC); */ + minterm = (ABC|ABNC|ANBC); } - + //BltMaskBitMapRastPort(tbm, 0, 0, glob->rp, x, y, width, height, (ABC|ABNC|ANBC), bitmap->native_mask); + BltBitMapTags(BLITA_Width,width, BLITA_Height,height, BLITA_Source,tbm, |