VulkanRenderer: Fix case where swapchain has more image than requested
This commit is contained in:
@@ -568,6 +568,8 @@ namespace Nz
|
|||||||
m_swapchainSize = size;
|
m_swapchainSize = size;
|
||||||
|
|
||||||
// Framebuffers
|
// Framebuffers
|
||||||
|
imageCount = m_swapchain.GetImageCount();
|
||||||
|
|
||||||
m_inflightFences.resize(imageCount);
|
m_inflightFences.resize(imageCount);
|
||||||
|
|
||||||
if (m_concurrentImageData.size() != imageCount)
|
if (m_concurrentImageData.size() != imageCount)
|
||||||
|
|||||||
Reference in New Issue
Block a user