From 53d28e67f8b7966596818af7cbfd360df241b332 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 15 Dec 2013 00:23:39 +0300 Subject: rename calcTile methods into separate names calcTileVertexes, calTileCollection. --- src/render/mobileopenglgraphics.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/render/mobileopenglgraphics.cpp') 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; -- cgit v1.2.3-70-g09d2