summaryrefslogtreecommitdiff
path: root/amiga/rtg.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-02-01 19:54:17 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-02-01 19:54:17 +0000
commitf661aa34e01e02af3237fd46e2a298a1b2d33ac2 (patch)
tree3470341f8b077d09fc4f55103e7bacf4bd0dfee0 /amiga/rtg.c
parenta4dbb87a764086cb9e6b76ac73548d62c03e23e0 (diff)
downloadnetsurf-f661aa34e01e02af3237fd46e2a298a1b2d33ac2.tar.gz
Ensure the window is clear before drawing new content
Diffstat (limited to 'amiga/rtg.c')
-rw-r--r--amiga/rtg.c1
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);