comparison Framework/OpenGL/OpenGLIncludes.h @ 990:3ea70a62ca00

dummy opengl checks for Qt
author Alain Mazy <alain@mazy.be>
date Wed, 11 Sep 2019 10:43:21 +0200
parents 92e32e263ae9
children 6a9300ecfa13
comparison
equal deleted inserted replaced
989:9f8aaafc372a 990:3ea70a62ca00
36 // On Windows, use the compatibility headers provided by glew 36 // On Windows, use the compatibility headers provided by glew
37 # include <GL/glew.h> 37 # include <GL/glew.h>
38 #else 38 #else
39 # include <GL/gl.h> 39 # include <GL/gl.h>
40 # include <GL/glext.h> 40 # include <GL/glext.h>
41 #endif
42
43 #if ORTHANC_ENABLE_QT == 1
44 // TODO: currently there are no checks in QT
45
46 # define ORTHANC_OPENGL_CHECK(name)
47 # define ORTHANC_OPENGL_TRACE_CURRENT_CONTEXT(msg)
48 # define ORTHANC_CHECK_CURRENT_CONTEXT(context)
49
41 #endif 50 #endif
42 51
43 #if ORTHANC_ENABLE_SDL == 1 52 #if ORTHANC_ENABLE_SDL == 1
44 # include <SDL_video.h> 53 # include <SDL_video.h>
45 54