mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Avoided enabling openGL 3 support on linux, which was causing problems because of missing symbols.
This commit is contained in:
parent
6efc1b8afc
commit
b4bef8e91e
1 changed files with 4 additions and 3 deletions
|
|
@ -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 <OpenGL/gl3.h>
|
||||
#include <OpenGL/gl3ext.h>
|
||||
#else
|
||||
#include <OpenGL/gl.h>
|
||||
#include "OpenGL/glext.h"
|
||||
#include <OpenGL/glext.h>
|
||||
#endif
|
||||
#elif JUCE_ANDROID
|
||||
#include <GLES2/gl2.h>
|
||||
#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
|
||||
|
||||
//=============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue