including OpenGL/gl.h and OpenGL/glu.h when on apple platform
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1393 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
45f45042c2
commit
9241bedc2f
@ -138,6 +138,9 @@
|
|||||||
#elif FREEGLUT_GLES1
|
#elif FREEGLUT_GLES1
|
||||||
# include <EGL/egl.h>
|
# include <EGL/egl.h>
|
||||||
# include <GLES/gl.h>
|
# include <GLES/gl.h>
|
||||||
|
#elif __APPLE__
|
||||||
|
# include <OpenGL/gl.h>
|
||||||
|
# include <OpenGL/glu.h>
|
||||||
#else
|
#else
|
||||||
# include <GL/gl.h>
|
# include <GL/gl.h>
|
||||||
# include <GL/glu.h>
|
# include <GL/glu.h>
|
||||||
|
Reference in New Issue
Block a user