summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-05-31 10:14:55 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-05-31 10:14:55 +0000
commit1e42e3a7ce7bbf086a3b791333ef28ed500f1eca (patch)
tree2c61678340a4a3bc0627b98d8bdce63cb65f6f93
parentc55f902197086458c73caa9e8d56881604c55ab5 (diff)
downloadnetsurf-1e42e3a7ce7bbf086a3b791333ef28ed500f1eca.tar.gz
netsurf-1e42e3a7ce7bbf086a3b791333ef28ed500f1eca.tar.bz2
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
-rwxr-xr-xamiga/gui.c5
1 files changed, 5 insertions, 0 deletions
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)