diff options
Diffstat (limited to 'src/render/graphics.cpp')
-rw-r--r-- | src/render/graphics.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/graphics.cpp b/src/render/graphics.cpp index 561ce3a90..8508b9eec 100644 --- a/src/render/graphics.cpp +++ b/src/render/graphics.cpp @@ -569,14 +569,14 @@ bool Graphics::calcImageRect(ImageVertexes *const vert, calcImagePattern(vert, right, x + w - rw, y + th, rw, h - th - bh); } - calcTile(vert, topLeft, x, y); + calcTileVertexes(vert, topLeft, x, y); if (topRight) - calcTile(vert, topRight, x + w - topRight->getWidth(), y); + calcTileVertexes(vert, topRight, x + w - topRight->getWidth(), y); if (bottomLeft) - calcTile(vert, bottomLeft, x, y + h - bottomLeft->getHeight()); + calcTileVertexes(vert, bottomLeft, x, y + h - bottomLeft->getHeight()); if (bottomRight) { - calcTile(vert, bottomRight, x + w - bottomRight->getWidth(), + calcTileVertexes(vert, bottomRight, x + w - bottomRight->getWidth(), y + h - bottomRight->getHeight()); } |