projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fe5be7
)
gl: Use numeric OSX version instead of the macro
author
Sebastian Dröge
<sebastian@centricular.com>
Sun, 16 Nov 2014 09:57:55 +0000
(10:57 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:50 +0000
(19:31 +0000)
The macro is not defined on older OSX versions and evaluates to 0.
https://bugzilla.gnome.org/show_bug.cgi?id=740201
gst-libs/gst/gl/gstglapi.h
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglapi.h
b/gst-libs/gst/gl/gstglapi.h
index d46a5f5b3d39d640e034c55d1a9a166c6bb6e267..11e9f3af23cbdac41c9e2248b00734ab2f979147 100644
(file)
--- a/
gst-libs/gst/gl/gstglapi.h
+++ b/
gst-libs/gst/gl/gstglapi.h
@@
-70,7
+70,7
@@
# ifdef __APPLE__
# include <OpenGL/OpenGL.h>
# include <OpenGL/gl.h>
-# if MAC_OS_X_VERSION_MAX_ALLOWED >=
MAC_OS_X_VERSION_10_7
+# if MAC_OS_X_VERSION_MAX_ALLOWED >=
1070
# define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
# include <OpenGL/gl3.h>
# endif