summaryrefslogtreecommitdiff
path: root/src/resources/fboinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/fboinfo.h')
-rw-r--r--src/resources/fboinfo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/fboinfo.h b/src/resources/fboinfo.h
index e18e9b938..5f47630c1 100644
--- a/src/resources/fboinfo.h
+++ b/src/resources/fboinfo.h
@@ -29,10 +29,16 @@
#include <GLES/gl.h>
#include <GLES/glext.h>
#else // ANDROID
+#ifdef HAVE_GLEXT
+#define NO_SDL_GLEXT
+#endif // HAVE_GLEXT
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_opengl.h>
PRAGMA48(GCC diagnostic pop)
+#ifdef HAVE_GLEXT
+#include <GL/glext.h>
+#endif // HAVE_GLEXT
#if defined(__APPLE__)
#include <OpenGL/glext.h>
#elif !defined(__native_client__)