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/sdl2softwaregraphics.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/render/sdl2softwaregraphics.cpp') diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp index fbd6e670b..cbcc5f1cb 100644 --- a/src/render/sdl2softwaregraphics.cpp +++ b/src/render/sdl2softwaregraphics.cpp @@ -400,6 +400,13 @@ void SDL2SoftwareGraphics::completeCache() void SDL2SoftwareGraphics::drawPattern(const Image *const image, const int x, const int y, const int w, const int h) +{ + drawPatternInline(image, x, y, w, h); +} + +void SDL2SoftwareGraphics::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