summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-05 20:56:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-05 20:56:20 +0300
commit102a7d4fe6e8874ad7dcdfe085a22b51de22999b (patch)
tree3dfdb542035ba1f6c871b6901461c81f11b1c6db /src/resources/image.cpp
parent0ca79840f3497375591a43b38d520ada03dfb2dd (diff)
downloadmanaverse-102a7d4fe6e8874ad7dcdfe085a22b51de22999b.tar.gz
manaverse-102a7d4fe6e8874ad7dcdfe085a22b51de22999b.tar.bz2
manaverse-102a7d4fe6e8874ad7dcdfe085a22b51de22999b.tar.xz
manaverse-102a7d4fe6e8874ad7dcdfe085a22b51de22999b.zip
add configure option --without-internalsdlgfx for not use emdedded sdl2gfx.
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r--src/resources/image.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index f185d103e..8bf41aa4c 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -33,7 +33,11 @@
#include "utils/sdlcheckutils.h"
+#ifdef USE_SDL2
+#include <SDL2_rotozoom.h>
+#else
#include <SDL_rotozoom.h>
+#endif
#include "debug.h"