diff options
Diffstat (limited to 'src/render/sdl2softwaregraphics.cpp')
-rw-r--r-- | src/render/sdl2softwaregraphics.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp index 03f6c2e41..daaa75387 100644 --- a/src/render/sdl2softwaregraphics.cpp +++ b/src/render/sdl2softwaregraphics.cpp @@ -111,6 +111,12 @@ bool SDL2SoftwareGraphics::drawRescaledImage(const Image *const image, bool SDL2SoftwareGraphics::drawImage2(const Image *const image, int dstX, int dstY) { + return drawImageInline(image, dstX, dstY); +} + +bool SDL2SoftwareGraphics::drawImageInline(const Image *const image, + int dstX, int dstY) +{ FUNC_BLOCK("Graphics::drawImage2", 1) // Check that preconditions for blitting are met. if (!mSurface || !image || !image->mSDLSurface) |