Fix resizing and maximizing window on Linux
This commit is contained in:
@@ -51,6 +51,10 @@ void GPUSwapChainVulkan::ReleaseBackBuffer()
|
||||
|
||||
void GPUSwapChainVulkan::OnReleaseGPU()
|
||||
{
|
||||
GPUDeviceLock lock(_device);
|
||||
|
||||
_device->WaitForGPU();
|
||||
|
||||
ReleaseBackBuffer();
|
||||
|
||||
// Release data
|
||||
|
||||
Reference in New Issue
Block a user