summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhi_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2020-01-08 11:15:42 +0100
committerLaszlo Agocs <laszlo.agocs@qt.io>2020-01-09 20:57:08 +0100
commite4d0187edc8aa5c70d181728b18630c1749ca288 (patch)
treeac6b9dd617c1712282cdad03386177cdc9690516 /src/gui/rhi/qrhi_p.h
parent2671fb27773fa318cde486d310dcf853a8290639 (diff)
rhi: metal: Fix incorrect native res. binding map check
Checking for nullptr is insufficient: just because there is an empty map present, it does not mean it is valid. The two cases must be handled identically. This fixes a regression when using QShaders that do not have an associated native resource binding map. Amends 4639660dedceba7c16e1a8110bba16eff30be312 Change-Id: Icb239bf9a9261ed32f2cb7b22c60b608195618fc Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi_p.h')
0 files changed, 0 insertions, 0 deletions