Mercurial > hg > orthanc-stone
diff Framework/OpenGL/OpenGLShader.h @ 582:e36e69a380a5
Scene2D
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 19 Apr 2019 16:43:08 +0200 |
parents | d933fc19214a |
children | 2d8ab34c8c91 |
line wrap: on
line diff
--- a/Framework/OpenGL/OpenGLShader.h Fri Apr 19 16:17:13 2019 +0200 +++ b/Framework/OpenGL/OpenGLShader.h Fri Apr 19 16:43:08 2019 +0200 @@ -21,21 +21,7 @@ #pragma once -#if !defined(ORTHANC_ENABLE_OPENGL) -# error The macro ORTHANC_ENABLE_OPENGL must be defined -#endif - -#if ORTHANC_ENABLE_OPENGL != 1 -# 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 "OpenGLIncludes.h" #include <string> #include <boost/noncopyable.hpp>