From b85fd67fb14f6a49c7e71f2265254150ba7a1240 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 23:11:20 +0300 Subject: add drawImageInline into renders for internal usage. --- src/render/sdlgraphics.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/render/sdlgraphics.cpp') diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp index 7bd6b82e0..37d26689e 100644 --- a/src/render/sdlgraphics.cpp +++ b/src/render/sdlgraphics.cpp @@ -103,6 +103,12 @@ bool SDLGraphics::drawRescaledImage(const Image *const image, bool SDLGraphics::drawImage2(const Image *const image, int dstX, int dstY) +{ + drawImageInline(image, dstX, dstY); +} + +bool SDLGraphics::drawImageInline(const Image *const image, + int dstX, int dstY) { FUNC_BLOCK("Graphics::drawImage2", 1) // Check that preconditions for blitting are met. -- cgit v1.2.3-60-g2f50