From b8b86dc2f283115ae8aea90ec9c3930c0ddd9eb2 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Sat, 27 Oct 2018 19:41:51 -0600 Subject: [PATCH] glesgsg: Only use the iOS GLES framework when "BUILD_IPHONE" is defined --- panda/src/gles2gsg/gles2gsg.h | 2 +- panda/src/glesgsg/glesgsg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/panda/src/gles2gsg/gles2gsg.h b/panda/src/gles2gsg/gles2gsg.h index 8d80e690eb..363baad0ca 100644 --- a/panda/src/gles2gsg/gles2gsg.h +++ b/panda/src/gles2gsg/gles2gsg.h @@ -51,7 +51,7 @@ // OpenGL ES 2 has no fixed-function pipeline. #undef SUPPORT_FIXED_FUNCTION -#ifdef IS_OSX +#ifdef BUILD_IPHONE #include // #include #else diff --git a/panda/src/glesgsg/glesgsg.h b/panda/src/glesgsg/glesgsg.h index 64d64db216..b7c7348cb9 100644 --- a/panda/src/glesgsg/glesgsg.h +++ b/panda/src/glesgsg/glesgsg.h @@ -54,7 +54,7 @@ #define __glext_h_ #define ES1_GLEXT_H_GUARD -#ifdef IS_OSX +#ifdef BUILD_IPHONE #include // #include #else