projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
484f0a0
)
gl/cocoa: include gl3.h in configure too for consistency with gstglapi.h
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 4 Nov 2014 08:52:11 +0000
(09:52 +0100)
committer
Sebastian Dröge
<sebastian@centricular.com>
Tue, 4 Nov 2014 08:52:11 +0000
(09:52 +0100)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
150ccaa
..
fdb6c88
100644
(file)
--- 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>