summaryrefslogtreecommitdiff
path: root/src/render/graphics_calcImageRect.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-30 22:05:55 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-30 22:05:55 +0300
commit080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b (patch)
treeadb12b2ed2020fc5c636d3c5cb7ba1ee0636f9e0 /src/render/graphics_calcImageRect.hpp
parent9aa2b0ffb97f8a1b5ae5201983318d03615c11e1 (diff)
downloadManaVerse-080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b.tar.gz
ManaVerse-080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b.tar.bz2
ManaVerse-080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b.tar.xz
ManaVerse-080291d23a1a28cf7c5e3e01eb4ecb1637a1b42b.zip
add calcTileVertexesInline into renders for internal usage.
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());
}
}