summaryrefslogtreecommitdiff
path: root/src/resources/safeopenglimagehelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/safeopenglimagehelper.h')
-rw-r--r--src/resources/safeopenglimagehelper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/safeopenglimagehelper.h b/src/resources/safeopenglimagehelper.h
index 14de03913..74e90ad39 100644
--- a/src/resources/safeopenglimagehelper.h
+++ b/src/resources/safeopenglimagehelper.h
@@ -26,7 +26,7 @@
#include "localconsts.h"
#include "main.h"
-#ifdef USE_OPENGL
+#if defined(USE_OPENGL) && !defined(ANDROID)
#ifndef GL_TEXTURE_RECTANGLE_ARB
#define GL_TEXTURE_RECTANGLE_ARB 0x84F5
@@ -155,5 +155,5 @@ class SafeOpenGLImageHelper final : public ImageHelper
static bool mUseTextureSampler;
};
-#endif
+#endif // defined(USE_OPENGL) && !defined(ANDROID)
#endif // RESOURCES_SAFEOPENGLIMAGEHELPER_H