summaryrefslogtreecommitdiff
path: root/src/render/surfacegraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/surfacegraphics.cpp')
-rw-r--r--src/render/surfacegraphics.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/render/surfacegraphics.cpp b/src/render/surfacegraphics.cpp
index f3e68ed25..31b9ddb7d 100644
--- a/src/render/surfacegraphics.cpp
+++ b/src/render/surfacegraphics.cpp
@@ -61,8 +61,7 @@ void SurfaceGraphics::drawImage(const Image *const image,
srcRect.h = static_cast<uint16_t>(imageRect.h);
#ifdef USE_SDL2
- return !(SDL_BlitSurface(image->mSDLSurface, &srcRect,
- mTarget, &dstRect) < 0);
+ SDL_BlitSurface(image->mSDLSurface, &srcRect, mTarget, &dstRect);
#else
if (mBlitMode == BLIT_NORMAL)
{