diff options
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-x | amiga/plotters.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c index 76ab88303..36b5a432a 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -596,6 +596,8 @@ bool ami_bitmap_tile(int x, int y, int width, int height, bool repeat_x = (flags & BITMAPF_REPEAT_X); bool repeat_y = (flags & BITMAPF_REPEAT_Y); + if((width == 0) || (height == 0)) return true; + if(!(repeat_x || repeat_y)) return ami_bitmap(x, y, width, height, bitmap); |