Fixes for Vulkan

This commit is contained in:
Wojtek Figat
2022-09-06 22:54:00 +02:00
parent 2cd7967ec4
commit 3abbafa530
4 changed files with 13 additions and 2 deletions

View File

@@ -195,6 +195,7 @@ bool GPUSwapChainVulkan::CreateSwapChain(int32 width, int32 height)
LOG(Warning, "Failed to create Vulkan surface.");
return true;
}
_memoryUsage = 1;
const auto& gpu = _device->Adapter->Gpu;