GLEW Patch #64 - disable GLU on iOS

This commit is contained in:
Nigel Stewart 2014-07-13 23:49:00 +10:00
parent f6bd1dab39
commit 5f0a96150e

View File

@ -1105,6 +1105,15 @@ GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei heigh
/* ---------------------------------- GLU ---------------------------------- */
#ifndef GLEW_NO_GLU
# ifdef __APPLE__
# include <Availability.h>
# if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
# define GLEW_NO_GLU
# endif
# endif
#endif
#ifndef GLEW_NO_GLU
/* this is where we can safely include GLU */
# if defined(__APPLE__) && defined(__MACH__)