Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
580:2faf9b53d6d9 | 581:d933fc19214a |
---|---|
27 | 27 |
28 #if ORTHANC_ENABLE_OPENGL != 1 | 28 #if ORTHANC_ENABLE_OPENGL != 1 |
29 # error Support for OpenGL is disabled | 29 # error Support for OpenGL is disabled |
30 #endif | 30 #endif |
31 | 31 |
32 #if defined(__APPLE__) | |
33 # include <OpenGL/gl.h> | |
34 # include <OpenGL/glext.h> | |
35 #else | |
36 # include <GL/gl.h> | |
37 # include <GL/glext.h> | |
38 #endif | |
39 | |
32 #include <string> | 40 #include <string> |
33 #include <GL/gl.h> | |
34 #include <boost/noncopyable.hpp> | 41 #include <boost/noncopyable.hpp> |
35 | 42 |
36 namespace OrthancStone | 43 namespace OrthancStone |
37 { | 44 { |
38 namespace OpenGL | 45 namespace OpenGL |