Fix resizing and maximizing window on Linux

This commit is contained in:
mafiesto4
2021-02-09 19:54:46 +01:00
parent e8dc48690e
commit dc63d908b8
4 changed files with 24 additions and 7 deletions

View File

@@ -51,6 +51,10 @@ void GPUSwapChainVulkan::ReleaseBackBuffer()
void GPUSwapChainVulkan::OnReleaseGPU()
{
GPUDeviceLock lock(_device);
_device->WaitForGPU();
ReleaseBackBuffer();
// Release data