Mercurial > hg > orthanc-stone
diff Framework/OpenGL/OpenGLProgram.h @ 581:d933fc19214a
fix windows build
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 19 Apr 2019 16:17:13 +0200 |
parents | fadacfbf5538 |
children | e36e69a380a5 |
line wrap: on
line diff
--- a/Framework/OpenGL/OpenGLProgram.h Fri Apr 19 16:10:27 2019 +0200 +++ b/Framework/OpenGL/OpenGLProgram.h Fri Apr 19 16:17:13 2019 +0200 @@ -29,8 +29,15 @@ # error Support for OpenGL is disabled #endif +#if defined(__APPLE__) +# include <OpenGL/gl.h> +# include <OpenGL/glext.h> +#else +# include <GL/gl.h> +# include <GL/glext.h> +#endif + #include <string> -#include <GL/gl.h> #include <boost/noncopyable.hpp> namespace OrthancStone