diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2017-10-05 16:35:11 +0200 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2017-10-06 08:37:16 +0000 |
commit | 248beda08f831d04e6b59df202921152b106bbfa (patch) | |
tree | 3698fa956c86f6919ad8f25efe7dba4eae4b2577 /src/gui | |
parent | 7f7d9393809f64b37f161f64312d0704d23a11b7 (diff) |
XCB platform: Fix crash on X servers with BGR888 display
If the native visual was BGR888, the XCB plugin would assert as soon as
it needed to find the corresponding QImage format. Fix by adding the
required mapping in qt_xcb_imageFormatForVisual().
Task-number: QTBUG-62840
Change-Id: Idd9eb01a60f605ad004d5b0c3025ded63ed64271
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions