summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-10-22 20:07:52 +0100
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-10-22 20:07:52 +0100
commitd806f32c7bd7a5a495ed8e7a3b1d7086e230343c (patch)
treeed6915ce145029d51e43d328a4430996881f3281 /amiga
parentbcd43d3f5989b236f696773ab523f56cac54cd8a (diff)
downloadnetsurf-d806f32c7bd7a5a495ed8e7a3b1d7086e230343c.tar.gz
netsurf-d806f32c7bd7a5a495ed8e7a3b1d7086e230343c.tar.bz2
Don't set outline pen - this is what makes AreaFill outline the filled area, which we categorically do not want to happen.
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/plotters.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c
index 8d5444470..ecf5b3902 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -283,18 +283,6 @@ static void ami_plot_setapen(ULONG colour)
}
}
-static void ami_plot_setopen(ULONG colour)
-{
- if(palette_mapped == false) {
- SetRPAttrs(glob->rp, RPTAG_OPenColor,
- p96EncodeColor(RGBFB_A8B8G8R8, colour),
- TAG_DONE);
- } else {
- ULONG pen = ami_plot_obtain_pen(glob->shared_pens, colour);
- if(pen != -1) SetOPen(glob->rp, pen);
- }
-}
-
bool ami_rectangle(int x0, int y0, int x1, int y1, const plot_style_t *style)
{
#ifdef AMI_PLOTTER_DEBUG
@@ -473,7 +461,6 @@ bool ami_polygon(const int *p, unsigned int n, const plot_style_t *style)
ULONG cx,cy;
ami_plot_setapen(style->fill_colour);
- ami_plot_setopen(style->fill_colour);
AreaMove(glob->rp,p[0],p[1]);
@@ -483,7 +470,6 @@ bool ami_polygon(const int *p, unsigned int n, const plot_style_t *style)
}
AreaEnd(glob->rp);
- BNDRYOFF(glob->rp);
}
else
{