Mercurial > hg > orthanc-stone
diff Framework/OpenGL/OpenGLIncludes.h @ 607:f4b37a991dac
using glew to build on Windows
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 29 Apr 2019 16:41:40 +0200 |
parents | f9ac154c5a63 |
children | 1091b2adeb5a |
line wrap: on
line diff
--- a/Framework/OpenGL/OpenGLIncludes.h Mon Apr 29 15:29:53 2019 +0200 +++ b/Framework/OpenGL/OpenGLIncludes.h Mon Apr 29 16:41:40 2019 +0200 @@ -33,12 +33,8 @@ # include <OpenGL/gl.h> # include <OpenGL/glext.h> #elif defined(_WIN32) -// On Windows, use the compatibility headers provided by SDL -# if ORTHANC_ENABLE_SDL == 1 -# include <SDL_opengl.h> -# else -# error Stone cannot be compiled on Windows without SDL -# endif +// On Windows, use the compatibility headers provided by glew +# include <GL/glew.h> #else # include <GL/gl.h> # include <GL/glext.h>