diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-02-13 18:34:08 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-02-13 18:34:08 +0000 |
commit | 6c7a3c3a73c4dbc6946f8998aa5887921644636c (patch) | |
tree | d2e965f913ae3607d560c314cc56833074441556 /amiga/plotters.c | |
parent | 3dc8de9be270fbf51e77944d7c3ee03496af296f (diff) | |
download | netsurf-6c7a3c3a73c4dbc6946f8998aa5887921644636c.tar.gz netsurf-6c7a3c3a73c4dbc6946f8998aa5887921644636c.tar.bz2 |
Clear the window using the BackFill hook
Diffstat (limited to 'amiga/plotters.c')
-rw-r--r-- | amiga/plotters.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c index a692b0813..443077b58 100644 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -265,10 +265,8 @@ static void ami_plot_setopen(struct RastPort *rp, ULONG colr) void ami_plot_clear_bbox(struct RastPort *rp, struct IBox *bbox) { if((bbox == NULL) || (rp == NULL)) return; - if((bbox->Width == 0) || (bbox->Height == 0)) return; - ami_plot_setapen(rp, 0xffffffff); - RectFill(rp, bbox->Left, bbox->Top, + EraseRect(rp, bbox->Left, bbox->Top, bbox->Width + bbox->Left, bbox->Height + bbox->Top); } |