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/opengl | |
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/opengl')
-rw-r--r-- | src/render/opengl/mgltypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/opengl/mgltypes.h b/src/render/opengl/mgltypes.h index cea84350b..96f86bde3 100644 --- a/src/render/opengl/mgltypes.h +++ b/src/render/opengl/mgltypes.h @@ -38,7 +38,11 @@ #ifdef __native_client__ #include <GL/Regal.h> #else +#if defined(__APPLE__) +#include <OpenGL/glext.h> +#else // defined(__APPLE__) #include <GL/glext.h> +#endif // defined(__APPLE__) #endif #endif |