diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-04-15 13:48:38 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2020-04-17 07:27:56 +0200 |
commit | ac009a9671ad97e9bc599676c35acd4628e45e7b (patch) | |
tree | 4a6cc8da2f7e0605ca0b3ca4c5644d292f1ff201 /src/quick/scenegraph/qsgopengldistancefieldglyphcache_p.h | |
parent | c3fcbe73189b26e49ad8fa824b2b8e6b7db0a8f4 (diff) |
Get rid of Q_OPENGL_ES* macros
These macros are no longer defined, and we will use QT_CONFIG
instead, since that is more robust (it checks against
misspellings).
This also removes some dead code from the WebKit code in
Qt QML. The condition never resolved to true in our case
since Qt QML does not depend on Qt GUI, so even before
the macro would not be set. This is just a leftover
anyway, as the graphical parts are not used in QML.
Task-number: QTBUG-83467
Change-Id: I2c4b7f928538cc75ce408deb357f8fd92a84d8e4
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/quick/scenegraph/qsgopengldistancefieldglyphcache_p.h')
-rw-r--r-- | src/quick/scenegraph/qsgopengldistancefieldglyphcache_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/qsgopengldistancefieldglyphcache_p.h b/src/quick/scenegraph/qsgopengldistancefieldglyphcache_p.h index 2e7b5baae2..b095fc94a0 100644 --- a/src/quick/scenegraph/qsgopengldistancefieldglyphcache_p.h +++ b/src/quick/scenegraph/qsgopengldistancefieldglyphcache_p.h @@ -62,7 +62,7 @@ QT_BEGIN_NAMESPACE class QOpenGLSharedResourceGuard; -#if !defined(QT_OPENGL_ES_2) +#if !QT_CONFIG(opengles2) class QOpenGLFunctions_3_2_Core; #endif @@ -154,7 +154,7 @@ private: QOpenGLSharedResourceGuard *m_fboGuard; QOpenGLFunctions *m_funcs; -#if !defined(QT_OPENGL_ES_2) +#if !QT_CONFIG(opengles2) QOpenGLFunctions_3_2_Core *m_coreFuncs; #endif }; |