diff options
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; |