summaryrefslogtreecommitdiffstats
path: root/src/gui/vulkan/qvulkanwindow_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/vulkan/qvulkanwindow_p.h')
-rw-r--r--src/gui/vulkan/qvulkanwindow_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/vulkan/qvulkanwindow_p.h b/src/gui/vulkan/qvulkanwindow_p.h
index 915e359673..336d1f098a 100644
--- a/src/gui/vulkan/qvulkanwindow_p.h
+++ b/src/gui/vulkan/qvulkanwindow_p.h
@@ -132,7 +132,7 @@ public:
// rendering thread will get throttled to the presentation rate (vsync).
// This is in effect Example 5 from the VK_KHR_swapchain spec.
VkPresentModeKHR presentMode = VK_PRESENT_MODE_FIFO_KHR;
- int swapChainBufferCount = 2;
+ int swapChainBufferCount = 0;
int frameLag = 2;
QSize swapChainImageSize;