diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-11-04 09:52:11 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-11-04 09:54:03 +0100 |
commit | 01cf9c02c9ec59566382e4c78158a80264cbe573 (patch) | |
tree | 4b7718434d256646c3daf87ed652e9d6bead1dc3 | |
parent | d20644a5cb582b360c61f84b9c7e6c4c8e0411fa (diff) | |
download | gstreamer-plugins-bad-01cf9c02c9ec59566382e4c78158a80264cbe573.tar.gz |
gl/cocoa: include gl3.h in configure too for consistency with gstglapi.h
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 01ee1773c..bf380a6ba 100644 --- a/configure.ac +++ b/configure.ac @@ -857,6 +857,10 @@ if test "x$HAVE_GL" = "xyes" -a "x$HAVE_GLES2" = "xyes"; then # 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> |