glesgsg: Only use the iOS GLES framework when "BUILD_IPHONE" is defined

This commit is contained in:
Sam Edwards 2018-10-27 19:41:51 -06:00
parent 3b7b9cd18c
commit b8b86dc2f2
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@
// OpenGL ES 2 has no fixed-function pipeline.
#undef SUPPORT_FIXED_FUNCTION
#ifdef IS_OSX
#ifdef BUILD_IPHONE
#include <OpenGLES/ES2/gl.h>
// #include <OpenGLESES2glext.h>
#else

View File

@ -54,7 +54,7 @@
#define __glext_h_
#define ES1_GLEXT_H_GUARD
#ifdef IS_OSX
#ifdef BUILD_IPHONE
#include <OpenGLES/ES1/gl.h>
// #include <OpenGLESES1glext.h>
#else