#ifndef __GL_INCLUDES_H__ #define __GL_INCLUDES_H__ #ifdef __APPLE__ #include #if TARGET_OS_IPHONE #define TARGET_OPENGL_ES 1 #include #include #elif TARGET_OS_MAC #define TARGET_OPENGL_ES 0 #include #include #include #else #error Unknown platform (not TARGET_OS_MAC or TARGET_OS_IPHONE) #endif #else #define TARGET_OPENGL_ES 0 #include #include #include #endif #endif