summaryrefslogtreecommitdiff
path: root/src/render/mobileopenglgraphics.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/mobileopenglgraphics.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/mobileopenglgraphics.cpp')
-rw-r--r--src/render/mobileopenglgraphics.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp
index eee4b9b0c..f8a3fd91e 100644
--- a/src/render/mobileopenglgraphics.cpp
+++ b/src/render/mobileopenglgraphics.cpp
@@ -623,9 +623,9 @@ void MobileOpenGLGraphics::calcImagePattern(ImageVertexes *const vert,
ogl.switchVp(vp);
}
-void MobileOpenGLGraphics::calcTile(ImageCollection *const vertCol,
- const Image *const image,
- int x, int y)
+void MobileOpenGLGraphics::calcTileCollection(ImageCollection *const vertCol,
+ const Image *const image,
+ int x, int y)
{
if (vertCol->currentGLImage != image->mGLImage)
{
@@ -634,11 +634,11 @@ void MobileOpenGLGraphics::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);
}
}
@@ -683,9 +683,9 @@ void MobileOpenGLGraphics::calcImagePattern(ImageCollection* const vertCol,
calcImagePattern(vert, image, x, y, w, h);
}
-void MobileOpenGLGraphics::calcTile(ImageVertexes *const vert,
- const Image *const image,
- int dstX, int dstY) const
+void MobileOpenGLGraphics::calcTileVertexes(ImageVertexes *const vert,
+ const Image *const image,
+ int dstX, int dstY) const
{
if (!vert || !image)
return;