diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 18:00:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 18:00:22 +0300 |
commit | e8ee55ea0794dd985e73b26d3e889f6eda16bf3d (patch) | |
tree | d44f04ed7b3c30e35719b982631311f0e3c16b4f /src/render/normalopenglgraphics.h | |
parent | a344b0036c91ae0b9591803a0e18356bf8f37697 (diff) | |
download | plus-e8ee55ea0794dd985e73b26d3e889f6eda16bf3d.tar.gz plus-e8ee55ea0794dd985e73b26d3e889f6eda16bf3d.tar.bz2 plus-e8ee55ea0794dd985e73b26d3e889f6eda16bf3d.tar.xz plus-e8ee55ea0794dd985e73b26d3e889f6eda16bf3d.zip |
Fix glext.h include for MacOSX.
Diffstat (limited to 'src/render/normalopenglgraphics.h')
-rw-r--r-- | src/render/normalopenglgraphics.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/normalopenglgraphics.h b/src/render/normalopenglgraphics.h index 05014deed..8f6652775 100644 --- a/src/render/normalopenglgraphics.h +++ b/src/render/normalopenglgraphics.h @@ -39,9 +39,11 @@ #define GL_GLEXT_PROTOTYPES 1 #endif #include <SDL_opengl.h> -#ifndef __native_client__ +#if defined(__APPLE__) +#include <OpenGL/glext.h> +#elif !defined(__native_client__) #include <GL/glext.h> -#endif +#endif // defined(__APPLE__) #endif class OpenGLGraphicsVertexes; |