This commit is contained in:
parent
6b0a57e524
commit
052db45922
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,8 @@ Swapchain::~Swapchain()
|
|||
std::this_thread::sleep_for(std::chrono::seconds { 10 });
|
||||
m_device->destroy_swapchain(m_swapchain);
|
||||
m_device->wait_idle();
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::seconds { 10 });
|
||||
}
|
||||
catch (const std::exception &exp)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue