From f661aa34e01e02af3237fd46e2a298a1b2d33ac2 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 1 Feb 2015 19:54:17 +0000 Subject: Ensure the window is clear before drawing new content --- amiga/gui.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'amiga/gui.c') diff --git a/amiga/gui.c b/amiga/gui.c index 366526800..114e6ab99 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -5071,6 +5071,8 @@ static void gui_window_new_content(struct gui_window *g) g->shared->oldv = 0; g->favicon = NULL; ami_plot_release_pens(&g->shared->shared_pens); + ami_rtg_rectfill(gwin->win->RPort, bbox->Left, bbox->Top, + bbox->Width+bbox->Left, bbox->Height+bbox->Top, 0xffffffff); ami_menu_update_disabled(g, c); ami_gui_update_hotlist_button(g->shared); ami_gui_scroller_update(g->shared); -- cgit v1.2.3