summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xamiga/plotters.c3
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);