summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopengltimerquery.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qopengltimerquery.h')
-rw-r--r--src/opengl/qopengltimerquery.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qopengltimerquery.h b/src/opengl/qopengltimerquery.h
index a779240108..fa0e5b3203 100644
--- a/src/opengl/qopengltimerquery.h
+++ b/src/opengl/qopengltimerquery.h
@@ -42,7 +42,7 @@
#include <QtOpenGL/qtopenglglobal.h>
-#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
+#if !defined(QT_NO_OPENGL) && !QT_CONFIG(opengles2)
#include <QtCore/QObject>
#include <QtGui/qopengl.h>