OS X: Fix Polymer build.

git-svn-id: https://svn.eduke32.com/eduke32@5557 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-01-12 10:31:15 +00:00
parent a35f3b13dc
commit 95a70e063d

View file

@ -38,6 +38,12 @@
//#include <GL/glext.h>
#if defined EDUKE32_OSX
# include <OpenGL/glext.h>
# define GL_MAP_WRITE_BIT 0x0002
# define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
# define GL_MAP_PERSISTENT_BIT 0x0040
# define GL_MAP_COHERENT_BIT 0x0080
# define GL_DYNAMIC_STORAGE_BIT 0x0100
# define GL_DEBUG_TYPE_ERROR_ARB 0x824C
#elif defined EDUKE32_IOS
typedef double GLdouble;
# include <OpenGLES/ES1/glext.h>