summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-03-25 10:28:26 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-03-30 12:19:51 +0000
commitc55d9c2d90f9c5d53d8503993f97d2610e32c16b (patch)
tree4b66f7eee0c9aab1603cf51888ae15832fbfe802 /tests
parentee520939c812aa0fede48ae5ba06e87159a93423 (diff)
Make getter const, add const overloads
The supportedApiVersions member is new in Qt 6.1, make it const. We can't change supportedLayers and supportedExtensions, but we can add const overloads that call the non-const version for now. This way, those APIs can also be called on const QVulkanInstance instances or references. Addresses header review comment. Change-Id: Ie99d74f62cad72990b42566e56234b9c686e86de Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> (cherry picked from commit 69dcdbc8daa2c40397dd021fc31c47ad528d9d83) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions