summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2022-11-14 10:15:26 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2022-11-14 11:05:48 +0100
commit6fa2ee7f4a40de6a6faed2227b39533b0ff79803 (patch)
treeb63b8d1bfd429cfdaf1782739d1c6e1fd1daa40f /tests/auto
parent244daf4cfc44587c8c7c87e481688e840cc21c77 (diff)
Fix crash when resetting a QShader
shader = QShader() would crash because qAtomicAssign() requires that the other's d-pointer is non-null. Follows pattern from other usages in Qt. Pick-to: 6.2 6.4 Fixes: QTBUG-108121 Change-Id: I57d25a804340839d03f9dadcbd44e956fb259c30 Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions