summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/opengles2/opengles2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/unix/opengles2/opengles2.cpp')
-rw-r--r--config.tests/unix/opengles2/opengles2.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.tests/unix/opengles2/opengles2.cpp b/config.tests/unix/opengles2/opengles2.cpp
index caf02e6..39c6fa7 100644
--- a/config.tests/unix/opengles2/opengles2.cpp
+++ b/config.tests/unix/opengles2/opengles2.cpp
@@ -39,7 +39,11 @@
**
****************************************************************************/
-#include <GLES2/gl2.h>
+#ifdef BUILD_ON_MAC
+ #include <OpenGLES/ES2/gl.h>
+#else
+ #include <GLES2/gl2.h>
+#endif
int main(int, char **)
{