diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-05-06 14:29:04 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-05-11 14:07:37 +0200 |
commit | 1f3ad386b11f84b65f70350099ac629d3cea8c9c (patch) | |
tree | c457ba6256f9832a7d441efe43479e7274140f4d /src/core/content_browser_client_qt.cpp | |
parent | 58cd21c0aa7a9dc5a18ea411dcf462a2ee8193f6 (diff) |
Switch away from QT_NO_OPENGL
Change-Id: I310265dacc9b1c8d391e82b6adf52b70c037d9b9
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/content_browser_client_qt.cpp')
-rw-r--r-- | src/core/content_browser_client_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp index cac392182..05957c26f 100644 --- a/src/core/content_browser_client_qt.cpp +++ b/src/core/content_browser_client_qt.cpp @@ -312,7 +312,7 @@ private: void ShareGroupQtQuick::AboutToAddFirstContext() { -#ifndef QT_NO_OPENGL +#if QT_CONFIG(opengl) // This currently has to be setup by ::main in all applications using QQuickWebEngineView with delegated rendering. QOpenGLContext *shareContext = qt_gl_global_share_context(); if (!shareContext) { |