summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopenglfunctions_es2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qopenglfunctions_es2.h')
-rw-r--r--src/opengl/qopenglfunctions_es2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qopenglfunctions_es2.h b/src/opengl/qopenglfunctions_es2.h
index e3c4ad5c2c..e9837bae29 100644
--- a/src/opengl/qopenglfunctions_es2.h
+++ b/src/opengl/qopenglfunctions_es2.h
@@ -42,7 +42,7 @@
#include <QtOpenGL/qtopenglglobal.h>
-#if defined(QT_OPENGL_ES_2) || defined(Q_QDOC)
+#if QT_CONFIG(opengles2) || defined(Q_QDOC)
#include <QtOpenGL/QOpenGLVersionProfile>
#include <QtOpenGL/QOpenGLVersionFunctions>
@@ -927,6 +927,6 @@ inline void QOpenGLFunctions_ES2::glViewport(GLint x, GLint y, GLsizei width, GL
QT_END_NAMESPACE
-#endif // QT_OPENGL_ES_2
+#endif // QT_CONFIG(opengles2)
#endif