Commit 5f0a9615 authored by Nigel Stewart's avatar Nigel Stewart
Browse files

GLEW Patch #64 - disable GLU on iOS

parent f6bd1dab
......@@ -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__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment