summaryrefslogtreecommitdiffstats
path: root/src/core/javascript_dialog_controller.cpp
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2020-06-26 13:24:01 +0200
committerJüri Valdmann <juri.valdmann@qt.io>2020-07-07 11:17:16 +0200
commit5988cec1a1b59aa163042a419c4c2e978bb814bb (patch)
tree8585d676b552534c6e72c6c30f2f376a098cdfb1 /src/core/javascript_dialog_controller.cpp
parent678076faeabd7e827abe31f72f4220af8d8f95ac (diff)
Fix ScopedGLContextChecker with QTWEBENGINE_DISABLE_GPU_THREAD=1HEADdev
The ScopedGLContextChecker, which deactivates the current QOpenGLContext when executing Chromium tasks, is currently enabled only if QOpenGLContext::supportsThreadedOpenGL() is false. But the gpu thread can nowadays be disabled also with an environment variable and ScopedGLContextChecker needs to take this into account. Change-Id: I012524538b49b033ed053dbc41ed4350db916542 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/javascript_dialog_controller.cpp')
0 files changed, 0 insertions, 0 deletions