VulkanRenderer: Fix case where swapchain has more image than requested
This commit is contained in:
parent
53e5aa924f
commit
33e60a97b6
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue