diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-02-02 18:10:43 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-02-02 18:10:43 +0000 |
commit | 7d41e04b61162d3cb1f0032100d29ef7897b2d83 (patch) | |
tree | 5587b322d516c96049105e923be95fbfa9a663e3 /amiga/rtg.c | |
parent | 54a966f6ff1b2d09d3db94560b67a2343e8684e1 (diff) | |
download | netsurf-7d41e04b61162d3cb1f0032100d29ef7897b2d83.tar.gz |
We don't need to use P96 for RectFill
Diffstat (limited to 'amiga/rtg.c')
-rw-r--r-- | amiga/rtg.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/amiga/rtg.c b/amiga/rtg.c index 267bd5d05..2f4b9e1d1 100644 --- a/amiga/rtg.c +++ b/amiga/rtg.c @@ -44,17 +44,6 @@ void ami_rtg_freebitmap(struct BitMap *bm) } } -void ami_rtg_rectfill(struct RastPort *rp, UWORD min_x, UWORD min_y, - UWORD max_x, UWORD max_y, ULONG colour) -{ - if(P96Base == NULL) { - SetAPen(rp, 2); /* white */ - return RectFill(rp, min_x, min_y, max_x, max_y); - } else { - return p96RectFill(rp, min_x, min_y, max_x, max_y, colour); - } -} - void ami_rtg_writepixelarray(UBYTE *pixdata, struct BitMap *bm, ULONG width, ULONG height, ULONG bpr, ULONG format) { |