diff options
Diffstat (limited to 'tests/auto/gui/rhi/qrhi/tst_qrhi.cpp')
-rw-r--r-- | tests/auto/gui/rhi/qrhi/tst_qrhi.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp index db83f7955f..1b473ed023 100644 --- a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp +++ b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp @@ -165,8 +165,7 @@ void tst_QRhi::initTestCase() QByteArrayLiteral("VK_LAYER_LUNARG_swapchain"), QByteArrayLiteral("VK_LAYER_GOOGLE_unique_objects") }); #endif - vulkanInstance.setExtensions(QByteArrayList() - << "VK_KHR_get_physical_device_properties2"); + vulkanInstance.setExtensions(QRhiVulkanInitParams::preferredInstanceExtensions()); vulkanInstance.create(); initParams.vk.inst = &vulkanInstance; #endif |