Vulkan: Only create imgui renderpass once (#972)

This commit is contained in:
goeiecool9999 2023-09-20 19:01:56 +02:00 committed by GitHub
parent 1d398551e2
commit b4aa10bee4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 27 deletions

View file

@ -441,7 +441,7 @@ private:
bool m_destroyPadSwapchainNextAcquire = false;
bool IsSwapchainInfoValid(bool mainWindow) const;
VkRenderPass m_imguiRenderPass = nullptr;
VkRenderPass m_imguiRenderPass = VK_NULL_HANDLE;
VkDescriptorPool m_descriptorPool;