From 79a4466479fe050c2cee19179d85fd051f5011f5 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Thu, 5 Feb 2015 18:51:41 +0000 Subject: Attempt to fix graphical corruption on OS3 --- amiga/gui.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3