summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-02-05 18:51:41 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-02-05 18:51:41 +0000
commit79a4466479fe050c2cee19179d85fd051f5011f5 (patch)
tree64376bb19019f9bbb62f1a03addb3ee98d2df257 /amiga
parent0e75f9909e7b3ede53ae45407a2884d71efae5b9 (diff)
downloadnetsurf-79a4466479fe050c2cee19179d85fd051f5011f5.tar.gz
netsurf-79a4466479fe050c2cee19179d85fd051f5011f5.tar.bz2
Attempt to fix graphical corruption on OS3
Diffstat (limited to 'amiga')
-rw-r--r--amiga/gui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 134d8a114..fe4d3c578 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -4660,6 +4660,10 @@ static void ami_do_redraw(struct gui_window_2 *gwin)
if(nsoption_bool(direct_render) == false)
{
+#ifndef __amigaos4__
+ /* Try to avoid some overprinting - might need glob->rp clearing instead */
+ ami_plot_clear_box(gwin->win->RPort, bbox);
+#endif
ami_do_redraw_tiled(gwin, true, hcurrent, vcurrent, width, height, hcurrent, vcurrent, bbox, &ctx);
}
else