From 35bc32199307f9ecbfac8cfc58294aee5ece49c2 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 22 Oct 2011 14:16:03 +0000 Subject: Fix the plotting of tiled bitmaps. EraseRect() appears to have a bug where it won't draw anything if ymin==ymax svn path=/trunk/netsurf/; revision=13074 --- 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 2db18a7a2..02609c2ad 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -705,6 +705,9 @@ bool ami_bitmap_tile(int x, int y, int width, int height, InstallLayerHook(glob->rp->Layer,bfh); + if(xm == xf) xf += 1; + if(ym == yf) yf += 1; + EraseRect(glob->rp,xm,ym,xf,yf); InstallLayerHook(glob->rp->Layer,LAYERS_NOBACKFILL); -- cgit v1.2.3