aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/quick/scenegraph/qsgrhisupport.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/quick/scenegraph/qsgrhisupport.cpp b/src/quick/scenegraph/qsgrhisupport.cpp
index 2761b54bde..7d37d405b1 100644
--- a/src/quick/scenegraph/qsgrhisupport.cpp
+++ b/src/quick/scenegraph/qsgrhisupport.cpp
@@ -83,8 +83,7 @@ QVulkanInstance *QSGRhiSupport::defaultVulkanInstance()
<< "VK_LAYER_GOOGLE_unique_objects");
#endif
}
- s_vulkanInstance->setExtensions(QByteArrayList()
- << "VK_KHR_get_physical_device_properties2");
+ s_vulkanInstance->setExtensions(QRhiVulkanInitParams::preferredInstanceExtensions());
if (!s_vulkanInstance->create()) {
qWarning("Failed to create Vulkan instance");
delete s_vulkanInstance;