diff --git a/arc-core/src/arc/graphics/Pixmap.java b/arc-core/src/arc/graphics/Pixmap.java index aae71eb5..2148b3a9 100644 --- a/arc-core/src/arc/graphics/Pixmap.java +++ b/arc-core/src/arc/graphics/Pixmap.java @@ -437,7 +437,7 @@ public void draw(Pixmap pixmap, int srcx, int srcy, int srcWidth, int srcHeight, startX = Math.max(dstx, 0), endX = Math.min(dstx + Math.min(dstWidth, owidth), width), offsetY = dsty - srcy, - scanX = Math.max(srcx, -dstx), + scanX = Math.max(Math.max(srcx, -dstx), 0), scanWidth = (endX - startX) * 4; while(startY < endY){