summaryrefslogtreecommitdiff
path: root/src/render/sdlgraphics.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-31 12:40:55 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-31 12:40:55 +0300
commit0e3e3df8c385ed8ad6e4612570016ffae03169a6 (patch)
tree839b82ee1a87f70d47b73535832454716d7dd619 /src/render/sdlgraphics.cpp
parentb85fd67fb14f6a49c7e71f2265254150ba7a1240 (diff)
downloadmanaverse-0e3e3df8c385ed8ad6e4612570016ffae03169a6.tar.gz
manaverse-0e3e3df8c385ed8ad6e4612570016ffae03169a6.tar.bz2
manaverse-0e3e3df8c385ed8ad6e4612570016ffae03169a6.tar.xz
manaverse-0e3e3df8c385ed8ad6e4612570016ffae03169a6.zip
fix compilation errors with different flags.
Diffstat (limited to 'src/render/sdlgraphics.cpp')
-rw-r--r--src/render/sdlgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp
index 37d26689e..b384e163e 100644
--- a/src/render/sdlgraphics.cpp
+++ b/src/render/sdlgraphics.cpp
@@ -104,7 +104,7 @@ bool SDLGraphics::drawRescaledImage(const Image *const image,
bool SDLGraphics::drawImage2(const Image *const image,
int dstX, int dstY)
{
- drawImageInline(image, dstX, dstY);
+ return drawImageInline(image, dstX, dstY);
}
bool SDLGraphics::drawImageInline(const Image *const image,