summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_context.cpp
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2020-07-08 18:10:48 +0200
committerMichal Klocek <michal.klocek@qt.io>2020-08-05 19:55:41 +0200
commit5821cd3b98e2e830bdf107cecc7138854822764b (patch)
treebff7f37343339d7eacd0ae4100f81f83c82b58cd /src/core/web_engine_context.cpp
parent2ef8e66ffd61e18a2ce6933cc3b8d53f954b2a4a (diff)
Remove setting surface format for qquickwidget
QQuickWidget uses QSGDefaultContext::defaultSurfaceFormat() in initialization, which is based on QSurfaceFormat::defaultFormat() Removed code was overriding format based on shared context format for some cases. However defaultFormat is always a requested format and not actual supported one by hardware. Since we always create share context simplify the logic and try to catch all the surface format related issues in QWebEngineCore::initialize() and abort. Change-Id: I940601b5cd873ab5273baa863aa4e7277be448a6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/web_engine_context.cpp')
0 files changed, 0 insertions, 0 deletions