diff Framework/OpenGL/OpenGLTexture.h @ 582:e36e69a380a5

Scene2D
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 19 Apr 2019 16:43:08 +0200
parents d933fc19214a
children 1091b2adeb5a
line wrap: on
line diff
--- a/Framework/OpenGL/OpenGLTexture.h	Fri Apr 19 16:17:13 2019 +0200
+++ b/Framework/OpenGL/OpenGLTexture.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 <Core/Images/ImageAccessor.h>