gl/cocoa: include gl3.h to have GL_CONTEXT_PROFILE_MASK
This commit is contained in:
parent
f44b430bc7
commit
ef707ee9d5
@ -70,6 +70,10 @@
|
|||||||
# 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
|
||||||
|
# define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
|
||||||
|
# include <OpenGL/gl3.h>
|
||||||
|
# endif
|
||||||
# include <OpenGL/glu.h>
|
# include <OpenGL/glu.h>
|
||||||
# else
|
# else
|
||||||
# include <GL/gl.h>
|
# include <GL/gl.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user