summaryrefslogtreecommitdiff
path: root/amiga/plotters.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-xamiga/plotters.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c
index ce1184703..1b13fa70a 100755
--- a/amiga/plotters.c
+++ b/amiga/plotters.c
@@ -375,8 +375,8 @@ bool ami_bitmap(int x, int y, int width, int height,
COMPTAG_Flags,COMPFLAG_IgnoreDestAlpha,
COMPTAG_DestX,glob.rect.MinX,
COMPTAG_DestY,glob.rect.MinY,
- COMPTAG_DestWidth,glob.rect.MaxX - glob.rect.MinX,
- COMPTAG_DestHeight,glob.rect.MaxY - glob.rect.MinY,
+ COMPTAG_DestWidth,glob.rect.MaxX - glob.rect.MinX + 1,
+ COMPTAG_DestHeight,glob.rect.MaxY - glob.rect.MinY + 1,
COMPTAG_SrcWidth,width,
COMPTAG_SrcHeight,height,
COMPTAG_OffsetX,x,
@@ -445,8 +445,8 @@ bool ami_bitmap_tile(int x, int y, int width, int height,
COMPTAG_Flags,COMPFLAG_IgnoreDestAlpha,
COMPTAG_DestX,glob.rect.MinX,
COMPTAG_DestY,glob.rect.MinY,
- COMPTAG_DestWidth,glob.rect.MaxX - glob.rect.MinX,
- COMPTAG_DestHeight,glob.rect.MaxY - glob.rect.MinY,
+ COMPTAG_DestWidth,glob.rect.MaxX - glob.rect.MinX + 1,
+ COMPTAG_DestHeight,glob.rect.MaxY - glob.rect.MinY + 1,
COMPTAG_SrcWidth,width,
COMPTAG_SrcHeight,height,
COMPTAG_OffsetX,xf,