mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -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.
|
// OpenGL ES 2 has no fixed-function pipeline.
|
||||||
#undef SUPPORT_FIXED_FUNCTION
|
#undef SUPPORT_FIXED_FUNCTION
|
||||||
|
|
||||||
#ifdef IS_OSX
|
#ifdef BUILD_IPHONE
|
||||||
#include <OpenGLES/ES2/gl.h>
|
#include <OpenGLES/ES2/gl.h>
|
||||||
// #include <OpenGLESES2glext.h>
|
// #include <OpenGLESES2glext.h>
|
||||||
#else
|
#else
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
#define __glext_h_
|
#define __glext_h_
|
||||||
#define ES1_GLEXT_H_GUARD
|
#define ES1_GLEXT_H_GUARD
|
||||||
|
|
||||||
#ifdef IS_OSX
|
#ifdef BUILD_IPHONE
|
||||||
#include <OpenGLES/ES1/gl.h>
|
#include <OpenGLES/ES1/gl.h>
|
||||||
// #include <OpenGLESES1glext.h>
|
// #include <OpenGLESES1glext.h>
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user