diff options
author | Morten Sørvig <morten.sorvig@qt.io> | 2022-04-12 12:43:07 +0200 |
---|---|---|
committer | Morten Sørvig <morten.sorvig@qt.io> | 2022-04-19 14:46:18 +0200 |
commit | c78925f487c82f6ffbf9a8bceda8bef4b214bc3b (patch) | |
tree | 9123652d2cc44dd6b9a6fb144b1436d73988aeea /mkspecs | |
parent | e629efc82c2e26559159abfe44d8414997bc3d68 (diff) |
wasm: propagate QWindow format to backing store
Qt backing store images should have alpha iff that was
requested by the QWindow's surface format. This changes
wasm to be in line with the other platforms, and enables
use of transparency for Qt windows.
Change beginPaint() to clear the backing store only
if the format/image has alpha. This is also established
behavior Qt's backing stores.
Change-Id: Idafe658e24d864f7c4f9e68ee39cb409982b5852
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Reviewed-by: David Skoland <david.skoland@qt.io>
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions