summaryrefslogtreecommitdiff
path: root/src/resources/image.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-16 16:17:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-16 16:17:10 +0300
commitba9fac97eb0afba27e7d35bef34255c8ac436295 (patch)
treec17598a7df4f8a61a61cf53a753cfaa938aeb23e /src/resources/image.h
parent28658bf384121e2522c95e9a2e1c1d7530f0fcd7 (diff)
downloadmanaverse-ba9fac97eb0afba27e7d35bef34255c8ac436295.tar.gz
manaverse-ba9fac97eb0afba27e7d35bef34255c8ac436295.tar.bz2
manaverse-ba9fac97eb0afba27e7d35bef34255c8ac436295.tar.xz
manaverse-ba9fac97eb0afba27e7d35bef34255c8ac436295.zip
fix compilation with SDL2.
Diffstat (limited to 'src/resources/image.h')
-rw-r--r--src/resources/image.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/image.h b/src/resources/image.h
index 1f8e2b4b6..0369bff2c 100644
--- a/src/resources/image.h
+++ b/src/resources/image.h
@@ -42,6 +42,10 @@
#endif
#endif
+#ifdef USE_SDL2
+#include <SDL_render.h>
+#endif
+
#include <map>
/**