summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/hellovulkantexture/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vulkan/hellovulkantexture/main.cpp')
-rw-r--r--examples/vulkan/hellovulkantexture/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vulkan/hellovulkantexture/main.cpp b/examples/vulkan/hellovulkantexture/main.cpp
index 1144463b70..bb6103e9cf 100644
--- a/examples/vulkan/hellovulkantexture/main.cpp
+++ b/examples/vulkan/hellovulkantexture/main.cpp
@@ -82,7 +82,7 @@ int main(int argc, char *argv[])
VulkanWindow w;
w.setVulkanInstance(&inst);
if (QCoreApplication::arguments().contains(QStringLiteral("--srgb")))
- w.setPreferredColorFormats(QVector<VkFormat>() << VK_FORMAT_B8G8R8A8_SRGB);
+ w.setPreferredColorFormats(QList<VkFormat>() << VK_FORMAT_B8G8R8A8_SRGB);
w.resize(1024, 768);
w.show();