Permalink
Browse files

More OS X compatibility fixes with OpenGL

  • Loading branch information...
simtr committed Jul 12, 2016
1 parent 4468462 commit 5b525852b49f0e4d339f8e1122b52182dee19169
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/graphics/OpenGLHeaders.h
@@ -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>

0 comments on commit 5b52585

Please sign in to comment.