diff options
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 |