rendervulkan: Use FIFO present mode for now in the nested case.

That's a good enough proxy for a real vblank cadence and helps my Envy
not catch on fire.
This commit is contained in:
Pierre-Loup A. Griffais 2020-01-01 14:02:57 +09:00
parent 010ba40691
commit 898e653c39

View file

@ -740,7 +740,7 @@ bool vulkan_make_output( VulkanOutput_t *pOutput )
createInfo.preTransform = pOutput->surfaceCaps.currentTransform;
createInfo.compositeAlpha = VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR;
createInfo.presentMode = pOutput->presentModes[0];
createInfo.presentMode = VK_PRESENT_MODE_FIFO_KHR;
createInfo.clipped = VK_TRUE;
createInfo.oldSwapchain = VK_NULL_HANDLE;