From 1e42e3a7ce7bbf086a3b791333ef28ed500f1eca Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 31 May 2009 10:14:55 +0000 Subject: [PATCH] Fully clear clipregion, stops eg. only a little bit of images being shown if the previous page had an animated GIF svn path=/trunk/netsurf/; revision=7662 --- amiga/gui.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/amiga/gui.c b/amiga/gui.c index 5e0b9f4e0..8c95fcc3c 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2179,6 +2179,11 @@ void ami_clearclipreg(struct RastPort *rp) reg = InstallClipRegion(rp->Layer,NULL); if(reg) DisposeRegion(reg); + + glob.rect.MinX = 0; + glob.rect.MinY = 0; + glob.rect.MaxX = scrn->Width-1; + glob.rect.MaxY = scrn->Height-1; } void ami_do_redraw_limits(struct gui_window *g, struct content *c,int x0, int y0, int x1, int y1)