diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-10-22 14:16:03 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-10-22 14:16:03 +0000 |
commit | 35bc32199307f9ecbfac8cfc58294aee5ece49c2 (patch) | |
tree | 96d73dd8ff29cbd84218242417fcec030ebd27b9 /amiga/plotters.c | |
parent | a7f2cfa521752185a1f1f5436b18a850e79b3279 (diff) | |
download | netsurf-35bc32199307f9ecbfac8cfc58294aee5ece49c2.tar.gz netsurf-35bc32199307f9ecbfac8cfc58294aee5ece49c2.tar.bz2 |
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
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-x | amiga/plotters.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |