mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 23:31:56 +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 ---------------------------------- */
|
/* ---------------------------------- 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
|
#ifndef GLEW_NO_GLU
|
||||||
/* this is where we can safely include GLU */
|
/* this is where we can safely include GLU */
|
||||||
# if defined(__APPLE__) && defined(__MACH__)
|
# if defined(__APPLE__) && defined(__MACH__)
|
||||||
|
Loading…
Reference in New Issue
Block a user