Fix issues with de/re-initialisation

This commit is contained in:
2023-09-18 15:13:14 +02:00
parent de75b6c724
commit 090e75a1ca
5 changed files with 7 additions and 3 deletions

View File

@@ -84,6 +84,7 @@ namespace openVulkanoCpp::Vulkan
void Renderer::Resize(const uint32_t newWidth, const uint32_t newHeight)
{
if (!context.device) return;
context.Resize(newWidth, newHeight);
resourceManager.Resize();
}