mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
gl/cocoa: include gl3.h to have GL_CONTEXT_PROFILE_MASK
This commit is contained in:
parent
2b487ef62b
commit
4307449449
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@
|
|||
# ifdef __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>
|
||||
|
|
Loading…
Reference in a new issue