From 8f018529676006ed744138a929fcc621694d6d75 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Dec 2013 13:27:26 +0300 Subject: In renderers replace ImagePattern in methods into Pattern. --- src/render/safeopenglgraphics.cpp | 44 +++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/render/safeopenglgraphics.cpp') diff --git a/src/render/safeopenglgraphics.cpp b/src/render/safeopenglgraphics.cpp index 02369fef4..e1540dbab 100644 --- a/src/render/safeopenglgraphics.cpp +++ b/src/render/safeopenglgraphics.cpp @@ -237,13 +237,13 @@ bool SafeOpenGLGraphics::drawRescaledImage(const Image *const image, int srcX, return true; } -/* Optimising the functions that Graphics::drawImagePattern would call, +/* Optimising the functions that Graphics::drawPattern would call, * so that glBegin...glEnd are outside the main loop. */ -void SafeOpenGLGraphics::drawImagePattern(const Image *const image, - const int x, const int y, - const int w, const int h) +void SafeOpenGLGraphics::drawPattern(const Image *const image, + const int x, const int y, + const int w, const int h) { - FUNC_BLOCK("Graphics::drawImagePattern", 1) + FUNC_BLOCK("Graphics::drawPattern", 1) if (!image) return; @@ -278,11 +278,11 @@ void SafeOpenGLGraphics::drawImagePattern(const Image *const image, glEnd(); } -void SafeOpenGLGraphics::drawRescaledImagePattern(const Image *const image, - const int x, const int y, - const int w, const int h, - const int scaledWidth, - const int scaledHeight) +void SafeOpenGLGraphics::drawRescaledPattern(const Image *const image, + const int x, const int y, + const int w, const int h, + const int scaledWidth, + const int scaledHeight) { if (!image) return; @@ -339,21 +339,21 @@ void SafeOpenGLGraphics::calcTileVertexes(ImageVertexes *const vert A_UNUSED, { } -void SafeOpenGLGraphics::calcImagePattern(ImageVertexes *const vert A_UNUSED, - const Image *const image A_UNUSED, - const int x A_UNUSED, - const int y A_UNUSED, - const int w A_UNUSED, - const int h A_UNUSED) const +void SafeOpenGLGraphics::calcPattern(ImageVertexes *const vert A_UNUSED, + const Image *const image A_UNUSED, + const int x A_UNUSED, + const int y A_UNUSED, + const int w A_UNUSED, + const int h A_UNUSED) const { } -void SafeOpenGLGraphics::calcImagePattern(ImageCollection *const vert A_UNUSED, - const Image *const image A_UNUSED, - const int x A_UNUSED, - const int y A_UNUSED, - const int w A_UNUSED, - const int h A_UNUSED) const +void SafeOpenGLGraphics::calcPattern(ImageCollection *const vert A_UNUSED, + const Image *const image A_UNUSED, + const int x A_UNUSED, + const int y A_UNUSED, + const int w A_UNUSED, + const int h A_UNUSED) const { } -- cgit v1.2.3-70-g09d2