summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/nullopenglgraphics.cpp')
-rw-r--r--src/render/nullopenglgraphics.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp
index fa8e8e0e4..d372aa7dc 100644
--- a/src/render/nullopenglgraphics.cpp
+++ b/src/render/nullopenglgraphics.cpp
@@ -689,11 +689,11 @@ void NullOpenGLGraphics::calcTileCollection(ImageCollection *const vertCol,
vertCol->currentVert = vert;
vert->image = image;
vertCol->draws.push_back(vert);
- calcTileVertexes(vert, image, x, y);
+ calcTileVertexesInline(vert, image, x, y);
}
else
{
- calcTileVertexes(vertCol->currentVert, image, x, y);
+ calcTileVertexesInline(vertCol->currentVert, image, x, y);
}
}
@@ -743,6 +743,13 @@ void NullOpenGLGraphics::calcTileVertexes(ImageVertexes *const vert,
const Image *const image,
int dstX, int dstY) const
{
+ calcTileVertexesInline(vert, image, dstX, dstY);
+}
+
+void NullOpenGLGraphics::calcTileVertexesInline(ImageVertexes *const vert,
+ const Image *const image,
+ int dstX, int dstY) const
+{
if (!vert || !image)
return;