diff options
Diffstat (limited to 'amiga/plotters.c')
-rwxr-xr-x | amiga/plotters.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/amiga/plotters.c b/amiga/plotters.c index 7e954d9bf..10d7b75cd 100755 --- a/amiga/plotters.c +++ b/amiga/plotters.c @@ -391,6 +391,8 @@ bool ami_bitmap(int x, int y, int width, int height, tbm = ami_getcachenativebm(bitmap,width,height,currp->BitMap); + if(!tbm) return true; + BltBitMapTags(BLITA_Width,width, BLITA_Height,height, BLITA_Source,tbm, @@ -422,6 +424,8 @@ bool ami_bitmap_tile(int x, int y, int width, int height, tbm = ami_getcachenativebm(bitmap,width,height,currp->BitMap); + if(!tbm) return true; + /* get left most tile position */ if (repeat_x) for (; x > glob.rect.MinX; x -= width) |