comparison 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
comparison
equal deleted inserted replaced
581:d933fc19214a 582:e36e69a380a5
19 **/ 19 **/
20 20
21 21
22 #pragma once 22 #pragma once
23 23
24 #if !defined(ORTHANC_ENABLE_OPENGL) 24 #include "OpenGLIncludes.h"
25 # error The macro ORTHANC_ENABLE_OPENGL must be defined
26 #endif
27
28 #if ORTHANC_ENABLE_OPENGL != 1
29 # error Support for OpenGL is disabled
30 #endif
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 25
40 #include <string> 26 #include <string>
41 #include <boost/noncopyable.hpp> 27 #include <boost/noncopyable.hpp>
42 28
43 namespace OrthancStone 29 namespace OrthancStone