summaryrefslogtreecommitdiff
path: root/src/render/nullopenglgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-15 00:23:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-15 00:23:39 +0300
commit53d28e67f8b7966596818af7cbfd360df241b332 (patch)
tree2924b2c260c14bfb8344d75c4bf7482d5263a39a /src/render/nullopenglgraphics.cpp
parent36de2c64d6bba077775360c9c0d681f0a096ffc3 (diff)
downloadmanaplus-53d28e67f8b7966596818af7cbfd360df241b332.tar.gz
manaplus-53d28e67f8b7966596818af7cbfd360df241b332.tar.bz2
manaplus-53d28e67f8b7966596818af7cbfd360df241b332.tar.xz
manaplus-53d28e67f8b7966596818af7cbfd360df241b332.zip
rename calcTile methods into separate names calcTileVertexes, calTileCollection.
Diffstat (limited to 'src/render/nullopenglgraphics.cpp')
-rw-r--r--src/render/nullopenglgraphics.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/render/nullopenglgraphics.cpp b/src/render/nullopenglgraphics.cpp
index d1d157503..2c433d804 100644
--- a/src/render/nullopenglgraphics.cpp
+++ b/src/render/nullopenglgraphics.cpp
@@ -700,9 +700,9 @@ void NullOpenGLGraphics::calcImagePattern(ImageVertexes* const vert,
ogl.switchVp(vp);
}
-void NullOpenGLGraphics::calcTile(ImageCollection *const vertCol,
- const Image *const image,
- int x, int y)
+void NullOpenGLGraphics::calcTileCollection(ImageCollection *const vertCol,
+ const Image *const image,
+ int x, int y)
{
if (vertCol->currentGLImage != image->mGLImage)
{
@@ -711,11 +711,11 @@ void NullOpenGLGraphics::calcTile(ImageCollection *const vertCol,
vertCol->currentVert = vert;
vert->image = image;
vertCol->draws.push_back(vert);
- calcTile(vert, image, x, y);
+ calcTileVertexes(vert, image, x, y);
}
else
{
- calcTile(vertCol->currentVert, image, x, y);
+ calcTileVertexes(vertCol->currentVert, image, x, y);
}
}
@@ -760,9 +760,9 @@ void NullOpenGLGraphics::calcImagePattern(ImageCollection* const vertCol,
calcImagePattern(vert, image, x, y, w, h);
}
-void NullOpenGLGraphics::calcTile(ImageVertexes *const vert,
- const Image *const image,
- int dstX, int dstY) const
+void NullOpenGLGraphics::calcTileVertexes(ImageVertexes *const vert,
+ const Image *const image,
+ int dstX, int dstY) const
{
if (!vert || !image)
return;