diff options
Diffstat (limited to 'util/glgen/qopenglversionfunctions__VERSION__.h.header')
-rw-r--r-- | util/glgen/qopenglversionfunctions__VERSION__.h.header | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/util/glgen/qopenglversionfunctions__VERSION__.h.header b/util/glgen/qopenglversionfunctions__VERSION__.h.header index b3d097c2f9..4b30dc1b65 100644 --- a/util/glgen/qopenglversionfunctions__VERSION__.h.header +++ b/util/glgen/qopenglversionfunctions__VERSION__.h.header @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS__VERSION___H #define QOPENGLVERSIONFUNCTIONS__VERSION___H -#ifndef QT_NO_OPENGL +#include <QtCore/qglobal.h> + +#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) #include <QtGui/QOpenGLVersionFunctions> #include <QtGui/qopenglcontext.h> |