summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-11-04 09:52:11 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-11-04 09:52:11 +0100
commit340d60e85e8a678da70bfac752ce90651b5d9fef (patch)
tree79b06f60815086d2984460d5a90e38cfb1d6fd4c /configure.ac
parent484f0a0cd341bd8d9e0c9bff5b0a134a5afa84b6 (diff)
downloadgstreamer-plugins-bad-340d60e85e8a678da70bfac752ce90651b5d9fef.tar.gz
gl/cocoa: include gl3.h in configure too for consistency with gstglapi.h
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 150ccaa92..fdb6c88db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -863,6 +863,10 @@ if test "x$HAVE_GL" = "xyes" -a "x$HAVE_GLU" = "xyes" -a "x$HAVE_GLES2" = "xyes"
# if __APPLE__
# include <OpenGL/OpenGL.h>
# include <OpenGL/gl.h>
+# if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
+# define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
+# include <OpenGL/gl3.h>
+# endif
# include <OpenGL/glu.h>
# else
# include <GL/gl.h>