summaryrefslogtreecommitdiff
path: root/src/render/graphics_calcImageRect.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/graphics_calcImageRect.hpp')
-rw-r--r--src/render/graphics_calcImageRect.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/graphics_calcImageRect.hpp b/src/render/graphics_calcImageRect.hpp
index 6da74fff0..bf8da2a37 100644
--- a/src/render/graphics_calcImageRect.hpp
+++ b/src/render/graphics_calcImageRect.hpp
@@ -68,21 +68,21 @@ if (top && left && bottom && right)
calcPatternInline(vert, right, x + w - rw, y + th, rw, h - th - bh);
}
-calcTileVertexes(vert, topLeft, x, y);
+calcTileVertexesInline(vert, topLeft, x, y);
if (topRight)
{
const int trw = topRight->getWidth();
if (w > trw)
- calcTileVertexes(vert, topRight, x + w - trw, y);
+ calcTileVertexesInline(vert, topRight, x + w - trw, y);
}
if (bottomLeft)
- calcTileVertexes(vert, bottomLeft, x, y + h - bottomLeft->getHeight());
+ calcTileVertexesInline(vert, bottomLeft, x, y + h - bottomLeft->getHeight());
if (bottomRight)
{
const int brw = bottomRight->getWidth();
if (w > brw)
{
- calcTileVertexes(vert, bottomRight, x + w - brw,
+ calcTileVertexesInline(vert, bottomRight, x + w - brw,
y + h - bottomRight->getHeight());
}
}