Add resized flag to base class

This commit is contained in:
Sascha Willems 2020-08-16 10:22:45 +02:00
parent ee946e2abf
commit 9e22fe7b0d
2 changed files with 2 additions and 0 deletions

View file

@ -2124,6 +2124,7 @@ void VulkanExampleBase::windowResize()
return;
}
prepared = false;
resized = true;
// Ensure all operations on the device have been finished before destroying resources
vkDeviceWaitIdle(device);