From Thomas Halgarth, mods for Iphone GL headers
This commit is contained in:
@@ -82,11 +82,23 @@
|
||||
|
||||
#if defined(OSG_GLES1_AVAILABLE)
|
||||
|
||||
#include <GLES/gl.h>
|
||||
#ifdef __APPLE__
|
||||
//if its apple include the target defines so we can check for iphone
|
||||
#include "TargetConditionals.h"
|
||||
#include <OpenGLES/ES1/gl.h>
|
||||
#else
|
||||
#include <GLES/gl.h>
|
||||
#endif
|
||||
|
||||
#elif defined(OSG_GLES2_AVAILABLE)
|
||||
|
||||
#include <GLES2/gl2.h>
|
||||
#ifdef __APPLE__
|
||||
//if its apple include the target defines so we can check for iphone
|
||||
#include "TargetConditionals.h"
|
||||
#include <OpenGLES/ES2/gl.h>
|
||||
#else
|
||||
#include <GLES2/gl2.h>
|
||||
#endif
|
||||
|
||||
#elif defined(OSG_GL3_AVAILABLE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user