diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2022-08-02 10:02:01 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-08-09 09:41:41 +0000 |
commit | f3af9b8473bf775d9e449cfcec8e17960b3f75f3 (patch) | |
tree | 0d7f616a95b1da9bdb2423994a7841d66af7495f | |
parent | 90b8fcfa6a0c6b9f890c535f84d78d541f55e78c (diff) |
Fix -no-opengl build on Windows
Change-Id: Id48824fb64125b1fdafcc54866eed8365d5ec3bb
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
(cherry picked from commit 38a6d268b09c49878b3a9b4819771f5c74925c35)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/core/ozone/gl_surface_qt.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ozone/gl_surface_qt.cpp b/src/core/ozone/gl_surface_qt.cpp index e46b49475..0d7f686e8 100644 --- a/src/core/ozone/gl_surface_qt.cpp +++ b/src/core/ozone/gl_surface_qt.cpp @@ -103,7 +103,11 @@ bool InitializeGLOneOffPlatform(uint64_t system_device_id) bool usingSoftwareDynamicGL() { +#if QT_CONFIG(opengl) return QtWebEngineCore::usingSoftwareDynamicGL(); +#else + return false; +#endif // QT_CONFIG(opengl) } scoped_refptr<GLSurface> |