From 080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 22:05:55 +0300 Subject: add calcTileVertexesInline into renders for internal usage. --- src/render/graphics_calcImageRect.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/render/graphics_calcImageRect.hpp') 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()); } } -- cgit v1.2.3-60-g2f50