diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2021-06-08 17:04:21 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2021-06-09 18:19:16 +0200 |
commit | c6c6e01e893b211f51511929b4258f789cdfd428 (patch) | |
tree | 89f6fd0260dfcc58aef3d3dba489cca30c537084 /src/corelib/io | |
parent | 0965cf0f1e49185097b0698e51ea9ad464eaa573 (diff) |
Fix inexplicably changed condition in GL backingstore composition
In a13e8d6660913bec172d1374f78083498c539df0 which provided the move
and decoupling of OpenGL code the !makeCurrent-succeeded &&
!context-is-valid condition got changed to !makeCurrent-succeeded &&
context-is-valid which makes no sense because what we test for is
context lost situations, in which case makeCurrent fails and isValid()
reports false.
Restore the ! that went missing in the above mentioned patch.
Pick-to: 6.2 6.1
Change-Id: I94f84d2853bcbd2965f76ecd665d3614b1f0e746
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions