mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-22 22:55:06 +00:00
GLEW Patch #64 - disable GLU on iOS
This commit is contained in:
parent
f6bd1dab39
commit
5f0a96150e
@ -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__)
|
||||
|
Loading…
Reference in New Issue
Block a user