diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-09 14:38:39 +0200 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-11 08:50:04 +0200 |
| commit | 5ea0256b07495977a1f2740f6b2d99984cf927dc (patch) | |
| tree | 2c02bed9631fc331ed693a0064f709be5cfc2c9b /src/concurrent/doc/snippets | |
| parent | 5302fb64af2f3f1eb4351a6f775663b74b8e53da (diff) | |
rhi: Don't check m_format in QRhiSwapChain::hdrInfo()
The HDR info is independent of the current format anyways.
Removing the format check allows code to use hdrInfo() as
a signal for whether to set a HDR format, instead of having
to set the format, then query hdrInfo(), and then setting
SDR again if needed.
Pick-to: 6.6
Change-Id: I99b57335003d06af227f2a7078560c2a483b049b
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/concurrent/doc/snippets')
0 files changed, 0 insertions, 0 deletions
