diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-02-01 19:54:17 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-02-01 19:54:17 +0000 |
commit | f661aa34e01e02af3237fd46e2a298a1b2d33ac2 (patch) | |
tree | 3470341f8b077d09fc4f55103e7bacf4bd0dfee0 /amiga/rtg.c | |
parent | a4dbb87a764086cb9e6b76ac73548d62c03e23e0 (diff) | |
download | netsurf-f661aa34e01e02af3237fd46e2a298a1b2d33ac2.tar.gz |
Ensure the window is clear before drawing new content
Diffstat (limited to 'amiga/rtg.c')
-rw-r--r-- | amiga/rtg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/amiga/rtg.c b/amiga/rtg.c index e1562841e..fbefd55a1 100644 --- a/amiga/rtg.c +++ b/amiga/rtg.c @@ -50,6 +50,7 @@ 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); |