summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/fboinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/fboinfo.h b/src/resources/fboinfo.h
index 9bd4b8e13..e18e9b938 100644
--- a/src/resources/fboinfo.h
+++ b/src/resources/fboinfo.h
@@ -36,6 +36,10 @@ PRAGMA48(GCC diagnostic pop)
#if defined(__APPLE__)
#include <OpenGL/glext.h>
#elif !defined(__native_client__)
+// avoid SDL 2 issue
+#ifdef GL_GLEXT_VERSION
+#undef GL_GLEXT_VERSION
+#endif
#include <GL/glext.h>
#endif // defined(__APPLE__)
#endif // ANDROID