From b4bef8e91ed6354ac304e908db34bd4ce3f5e8bb Mon Sep 17 00:00:00 2001 From: jules Date: Fri, 22 Aug 2014 09:58:53 +0100 Subject: [PATCH] Avoided enabling openGL 3 support on linux, which was causing problems because of missing symbols. --- modules/juce_opengl/juce_opengl.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/juce_opengl/juce_opengl.h b/modules/juce_opengl/juce_opengl.h index 5e1735d314..bfeb5996b5 100644 --- a/modules/juce_opengl/juce_opengl.h +++ b/modules/juce_opengl/juce_opengl.h @@ -63,18 +63,19 @@ #endif #elif JUCE_MAC #if defined (MAC_OS_X_VERSION_10_7) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7) + #define JUCE_OPENGL3 1 #include #include #else #include - #include "OpenGL/glext.h" + #include #endif #elif JUCE_ANDROID #include #endif -#if GL_VERSION_3_2 || GL_ES_VERSION_3_0 - #define JUCE_OPENGL3 1 +#if GL_ES_VERSION_3_0 + #define JUCE_OPENGL3 1 #endif //=============================================================================