comparison Framework/OpenGL/OpenGLIncludes.h @ 1147:bc27c199eefe broker

qt
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 14 Nov 2019 15:53:49 +0100
parents 6a9300ecfa13
children 0ca50d275b9a
comparison
equal deleted inserted replaced
1146:5035354b1369 1147:bc27c199eefe
30 #endif 30 #endif
31 31
32 #if defined(__APPLE__) 32 #if defined(__APPLE__)
33 # include <OpenGL/gl.h> 33 # include <OpenGL/gl.h>
34 # include <OpenGL/glext.h> 34 # include <OpenGL/glext.h>
35 #elif defined(QT_VERSION_MAJOR) && (QT_VERSION >= 5)
36 // Qt5 takes care of the inclusions
35 #elif defined(_WIN32) 37 #elif defined(_WIN32)
36 // On Windows, use the compatibility headers provided by glew 38 // On Windows, use the compatibility headers provided by glew
37 # include <GL/glew.h> 39 # include <GL/glew.h>
38 #else 40 #else
39 # include <GL/gl.h> 41 # include <GL/gl.h>