diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2016-12-12 15:31:32 +0000 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-12-14 11:18:19 +0000 |
commit | 412f9985bd59b1c46407eda67b963cbdbdc48e4b (patch) | |
tree | 1915f46702bfb7b44cb52485c5d02363f375b927 /dist | |
parent | f3e9952fb03050fd30fc0618f520bcdbdbfc45d2 (diff) |
Ensure offscreen surface used during cleanup is created on gui thread
Windows uses a QWindow to back QOffscreenSurface so we must needs
create it on the gui thread. To complicate matters we don't know the
format used by Qt 3D until the Renderer is initialized. So we have to
defer creation of the offscreen surface until that time and do it in
the gui thread with the correct format.
Task-number: QTBUG-57496
Change-Id: Idaad23c2229ab069f3e02c8d075be8e6718a8a50
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'dist')
0 files changed, 0 insertions, 0 deletions