VulkanRenderer: Fix case where swapchain has more image than requested

This commit is contained in:
Jérôme Leclercq 2020-09-04 15:59:01 +02:00
parent 53e5aa924f
commit 33e60a97b6
1 changed files with 2 additions and 0 deletions

View File

@ -568,6 +568,8 @@ namespace Nz
m_swapchainSize = size;
// Framebuffers
imageCount = m_swapchain.GetImageCount();
m_inflightFences.resize(imageCount);
if (m_concurrentImageData.size() != imageCount)