mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
glesgsg: Only use the iOS GLES framework when "BUILD_IPHONE" is defined
This commit is contained in:
parent
3b7b9cd18c
commit
b8b86dc2f2
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user