summaryrefslogtreecommitdiff
path: root/src/resources/image.cpp
diff options
context:
space:
mode:
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"