From eed93efa8aa8539b47f225b4abafe6d59bebe67d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 23 Feb 2014 20:17:46 +0300 Subject: Rename drawImage2 methods into drawImage. --- src/render/sdlgraphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/render/sdlgraphics.cpp') diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp index 9694eb0fb..05c57a952 100644 --- a/src/render/sdlgraphics.cpp +++ b/src/render/sdlgraphics.cpp @@ -103,7 +103,7 @@ bool SDLGraphics::drawRescaledImage(const Image *const image, return returnValue; } -bool SDLGraphics::drawImage2(const Image *const image, +bool SDLGraphics::drawImage(const Image *const image, int dstX, int dstY) { return drawImageInline(image, dstX, dstY); @@ -112,7 +112,7 @@ bool SDLGraphics::drawImage2(const Image *const image, bool SDLGraphics::drawImageInline(const Image *const image, int dstX, int dstY) { - FUNC_BLOCK("Graphics::drawImage2", 1) + FUNC_BLOCK("Graphics::drawImage", 1) // Check that preconditions for blitting are met. if (!mWindow || !image || !image->mSDLSurface) return false; -- cgit v1.2.3-60-g2f50