summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglfunctions_3_3_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qopenglfunctions_3_3_core.h')
-rw-r--r--src/opengl/qopenglfunctions_3_3_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qopenglfunctions_3_3_core.h b/src/opengl/qopenglfunctions_3_3_core.h
index 6f80adfe20..b38f9c54e5 100644
--- a/src/opengl/qopenglfunctions_3_3_core.h
+++ b/src/opengl/qopenglfunctions_3_3_core.h
@@ -52,7 +52,7 @@
#include <QtOpenGL/qtopenglglobal.h>
-#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
+#if !defined(QT_NO_OPENGL) && !QT_CONFIG(opengles2)
#include <QtOpenGL/QOpenGLVersionProfile>
#include <QtOpenGL/QOpenGLVersionFunctions>
@@ -2137,6 +2137,6 @@ inline void QOpenGLFunctions_3_3_Core::glVertexAttribDivisor(GLuint index, GLuin
QT_END_NAMESPACE
-#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
+#endif // QT_NO_OPENGL && !QT_CONFIG(opengles2)
#endif