From 5737ea10b282fde600a4a6d5772e47bc12c05c77 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Wed, 10 Dec 2008 23:31:33 +0000 Subject: Fix bitmap tile plotter so tiled bitmaps continue out of the inital visible area. svn path=/trunk/netsurf/; revision=5899 --- amiga/plotters.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'amiga/plotters.c') diff --git a/amiga/plotters.c b/amiga/plotters.c index 8c51dc95d..eeb67038e 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -309,6 +309,9 @@ bool ami_bitmap_tile(int x, int y, int width, int height, max_width = (repeat_x ? scrn->Width : width); max_height = (repeat_y ? scrn->Height : height); + if(repeat_x && (x<-bitmap->width)) while(x<-bitmap->width) x+=bitmap->width; + if(repeat_y && (y<-bitmap->height)) while(y<-bitmap->height) y+=bitmap->height; + for(xf=0;xfwidth) { for(yf=0;yfheight) -- cgit v1.2.3