Skip to content

Commit

Permalink
More OS X compatibility fixes with OpenGL
Browse files Browse the repository at this point in the history
  • Loading branch information
simtr committed Jul 12, 2016
1 parent 4468462 commit 5b52585
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/graphics/OpenGLHeaders.h
Expand Up @@ -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>
Expand Down

0 comments on commit 5b52585

Please sign in to comment.