diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-01-28 15:18:48 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2019-01-29 11:12:41 +0000 |
commit | cf53ed97a113751f3130543e3a1e853d45817dd9 (patch) | |
tree | 670eee78cf564afcfc20a5e692653509e61a81bc /.qmake.conf | |
parent | 5d181961ea28da07128384aa5144c67d07f87a3e (diff) |
macOS: Apply alpha channel to surface format even when non-default
Relying on QSurfaceFormat() to check whether or not we should set
the alpha channel size makes it impossible to tweak other properties
of the surface format without also having to set the alpha. There's
no need to do such as broad comparison, we can check the alpha channel
size for its default value instead.
Change-Id: Iac31d37c9460eb3e7ec5ee15902f7e5addb48178
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to '.qmake.conf')
0 files changed, 0 insertions, 0 deletions