diff options
author | Michal Klocek <michal.klocek@qt.io> | 2020-07-08 18:10:48 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2020-08-05 19:55:41 +0200 |
commit | 5821cd3b98e2e830bdf107cecc7138854822764b (patch) | |
tree | bff7f37343339d7eacd0ae4100f81f83c82b58cd /src/pdf | |
parent | 2ef8e66ffd61e18a2ce6933cc3b8d53f954b2a4a (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/pdf')
0 files changed, 0 insertions, 0 deletions