summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-15 18:57:03 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-15 18:58:08 +0300
commit1ffeeb5d960ecf45ff285b8045265bb38de86b18 (patch)
treef3e0a40a39cf0b00376d0201eee53e13e7592c5c /src/resources/image.cpp
parent559bd8c3275b05cf061813094a880223f343cff5 (diff)
downloadplus-1ffeeb5d960ecf45ff285b8045265bb38de86b18.tar.gz
plus-1ffeeb5d960ecf45ff285b8045265bb38de86b18.tar.bz2
plus-1ffeeb5d960ecf45ff285b8045265bb38de86b18.tar.xz
plus-1ffeeb5d960ecf45ff285b8045265bb38de86b18.zip
Add safeopenglimagehelper for using in safe opengl mode only.
Diffstat (limited to 'src/resources/image.cpp')
-rw-r--r--src/resources/image.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index 8b952779c..c196b217c 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -28,7 +28,10 @@
#ifdef USE_OPENGL
#include "resources/openglimagehelper.h"
-#endif
+#ifndef ANDROID
+#include "resources/safeopenglimagehelper.h"
+#endif // ANDROID
+#endif // USE_OPENGL
#include "resources/sdlimagehelper.h"
#include "resources/subimage.h"
@@ -36,9 +39,9 @@
#ifdef USE_SDL2
#include <SDL2_rotozoom.h>
-#else
+#else // USE_SDL2
#include <SDL_rotozoom.h>
-#endif
+#endif // USE_SDL2
#include "debug.h"