summaryrefslogtreecommitdiff
path: root/src/render/sdl2graphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/sdl2graphics.cpp')
-rw-r--r--src/render/sdl2graphics.cpp7
1 files changed, 7 insertions, 0 deletions
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
@@ -232,6 +232,13 @@ 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.
if (!mWindow || !image)