diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-15 00:23:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-15 00:23:39 +0300 |
commit | 53d28e67f8b7966596818af7cbfd360df241b332 (patch) | |
tree | 2924b2c260c14bfb8344d75c4bf7482d5263a39a /src/render/normalopenglgraphics.cpp | |
parent | 36de2c64d6bba077775360c9c0d681f0a096ffc3 (diff) | |
download | mv-53d28e67f8b7966596818af7cbfd360df241b332.tar.gz mv-53d28e67f8b7966596818af7cbfd360df241b332.tar.bz2 mv-53d28e67f8b7966596818af7cbfd360df241b332.tar.xz mv-53d28e67f8b7966596818af7cbfd360df241b332.zip |
rename calcTile methods into separate names calcTileVertexes, calTileCollection.
Diffstat (limited to 'src/render/normalopenglgraphics.cpp')
-rw-r--r-- | src/render/normalopenglgraphics.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/render/normalopenglgraphics.cpp b/src/render/normalopenglgraphics.cpp index f837d1928..dd0d75871 100644 --- a/src/render/normalopenglgraphics.cpp +++ b/src/render/normalopenglgraphics.cpp @@ -797,9 +797,9 @@ void NormalOpenGLGraphics::calcImagePattern(ImageVertexes* const vert, ogl.switchVp(vp); } -void NormalOpenGLGraphics::calcTile(ImageCollection *const vertCol, - const Image *const image, - int x, int y) +void NormalOpenGLGraphics::calcTileCollection(ImageCollection *const vertCol, + const Image *const image, + int x, int y) { if (vertCol->currentGLImage != image->mGLImage) { @@ -808,11 +808,11 @@ void NormalOpenGLGraphics::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); } } @@ -857,9 +857,9 @@ void NormalOpenGLGraphics::calcImagePattern(ImageCollection* const vertCol, calcImagePattern(vert, image, x, y, w, h); } -void NormalOpenGLGraphics::calcTile(ImageVertexes *const vert, - const Image *const image, - int dstX, int dstY) const +void NormalOpenGLGraphics::calcTileVertexes(ImageVertexes *const vert, + const Image *const image, + int dstX, int dstY) const { if (!vert || !image) return; |