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/sdl2graphics.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/render/sdl2graphics.cpp') diff --git a/src/render/sdl2graphics.cpp b/src/render/sdl2graphics.cpp index dbfe7ed1e..a91548416 100644 --- a/src/render/sdl2graphics.cpp +++ b/src/render/sdl2graphics.cpp @@ -231,6 +231,13 @@ void SDLGraphics::completeCache() void SDLGraphics::drawPattern(const Image *const image, const int x, const int y, const int w, const int h) +{ + drawParrernInline(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-70-g09d2