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.hpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/render/graphics_calcImageRect.hpp b/src/render/graphics_calcImageRect.hpp
index bf8da2a37..2d97f82c5 100644
--- a/src/render/graphics_calcImageRect.hpp
+++ b/src/render/graphics_calcImageRect.hpp
@@ -21,10 +21,10 @@
*/
-//bool Graphics::calcImageRect(ImageVertexes *const vert,
-// const int x, const int y,
-// const int w, const int h,
-// const ImageRect &imgRect)
+// bool GraphicsX::calcImageRect(ImageVertexes *const vert,
+// const int x, const int y,
+// const int w, const int h,
+// const ImageRect &imgRect)
if (!vert)
return;
@@ -76,7 +76,10 @@ if (topRight)
calcTileVertexesInline(vert, topRight, x + w - trw, y);
}
if (bottomLeft)
- calcTileVertexesInline(vert, bottomLeft, x, y + h - bottomLeft->getHeight());
+{
+ calcTileVertexesInline(vert, bottomLeft,
+ x, y + h - bottomLeft->getHeight());
+}
if (bottomRight)
{
const int brw = bottomRight->getWidth();