summaryrefslogtreecommitdiff
path: root/src/resources/image/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-15 19:00:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-15 19:00:59 +0300
commit39e19833f3cdb67b53544f3a8787628e484a50ef (patch)
tree20758d2591927e2147d343cf44b8ef39cd8045c5 /src/resources/image/image.h
parent5273b0bc8dcc2adbf8557a4008c63e50955884fe (diff)
downloadmanaverse-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.gz
manaverse-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.bz2
manaverse-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.xz
manaverse-39e19833f3cdb67b53544f3a8787628e484a50ef.zip
Fix other include issues.
Diffstat (limited to 'src/resources/image/image.h')
-rw-r--r--src/resources/image/image.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/image/image.h b/src/resources/image/image.h
index 39492c360..ae29a66ae 100644
--- a/src/resources/image/image.h
+++ b/src/resources/image/image.h
@@ -29,8 +29,6 @@
#include "resources/resource.h"
-#include <SDL_video.h>
-
#ifdef USE_OPENGL
#ifdef ANDROID
@@ -45,7 +43,9 @@
#ifdef USE_SDL2
#include <SDL_render.h>
-#endif
+#else // USE_SDL2
+#include <SDL_video.h>
+#endif // USE_SDL2
#include <map>