mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
gl: Use numeric OSX version instead of the macro
The macro is not defined on older OSX versions and evaluates to 0. https://bugzilla.gnome.org/show_bug.cgi?id=740201
This commit is contained in:
parent
3fe5be7c9a
commit
d70f6a9b5e
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@
|
||||||
# ifdef __APPLE__
|
# ifdef __APPLE__
|
||||||
# include <OpenGL/OpenGL.h>
|
# include <OpenGL/OpenGL.h>
|
||||||
# include <OpenGL/gl.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
|
# define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
|
||||||
# include <OpenGL/gl3.h>
|
# include <OpenGL/gl3.h>
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in a new issue