From e29a87a240fe2f33c51f4e15067122960f667d66 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 30 Dec 2013 18:45:00 +0300 Subject: add drawPatternInline into renders for internal usage. --- src/render/sdlgraphics.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/render/sdlgraphics.cpp') diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp index 2860f871c..2f13f53f0 100644 --- a/src/render/sdlgraphics.cpp +++ b/src/render/sdlgraphics.cpp @@ -393,6 +393,13 @@ void SDLGraphics::completeCache() void SDLGraphics::drawPattern(const Image *const image, const int x, const int y, const int w, const int h) +{ + drawPatternInline(image, x, y, w, h); +} + +void SDLGraphics::drawPatternInline(const Image *const image, + const int x, const int y, + const int w, const int h) { FUNC_BLOCK("Graphics::drawPattern", 1) // Check that preconditions for blitting are met. -- cgit v1.2.3-60-g2f50