More OS X compatibility fixes with OpenGL

This commit is contained in:
Simon Robertshaw 2016-07-12 22:34:31 +01:00
parent 4468462ce9
commit 5b525852b4

View File

@ -2,6 +2,9 @@
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_OS_X_VERSION_10_9
#include <OpenGL/glu.h>
#ifndef GL_RGBA32F
#define GL_RGBA32F GL_RGBA32F_ARB
#endif
#elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
#include <OpenGL/gl3.h>
#include <OpenGL/glu.h>