diff options
Diffstat (limited to 'src/gui/opengl/qopenglfunctions_3_2_compatibility.h')
-rw-r--r-- | src/gui/opengl/qopenglfunctions_3_2_compatibility.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/opengl/qopenglfunctions_3_2_compatibility.h b/src/gui/opengl/qopenglfunctions_3_2_compatibility.h index cfa5cd1406..f279f1037a 100644 --- a/src/gui/opengl/qopenglfunctions_3_2_compatibility.h +++ b/src/gui/opengl/qopenglfunctions_3_2_compatibility.h @@ -51,7 +51,9 @@ #ifndef QOPENGLVERSIONFUNCTIONS_3_2_COMPATIBILITY_H #define QOPENGLVERSIONFUNCTIONS_3_2_COMPATIBILITY_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> @@ -4371,6 +4373,6 @@ inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI1i(GLuint index, QT_END_NAMESPACE -#endif // QT_NO_OPENGL +#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 #endif |