changeset 990:3ea70a62ca00

dummy opengl checks for Qt
author Alain Mazy <alain@mazy.be>
date Wed, 11 Sep 2019 10:43:21 +0200
parents 9f8aaafc372a
children 92a043b8e431 a9f5d0742e22
files Framework/OpenGL/OpenGLIncludes.h
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/OpenGL/OpenGLIncludes.h	Mon Sep 09 16:18:39 2019 +0200
+++ b/Framework/OpenGL/OpenGLIncludes.h	Wed Sep 11 10:43:21 2019 +0200
@@ -40,6 +40,15 @@
 #  include <GL/glext.h>
 #endif
 
+#if ORTHANC_ENABLE_QT == 1
+// TODO: currently there are no checks in QT
+
+#   define ORTHANC_OPENGL_CHECK(name)
+#   define ORTHANC_OPENGL_TRACE_CURRENT_CONTEXT(msg)
+#   define ORTHANC_CHECK_CURRENT_CONTEXT(context)
+
+#endif
+
 #if ORTHANC_ENABLE_SDL == 1
 # include <SDL_video.h>