This commit is contained in:
parent
643fc49b18
commit
d75a1d9c5f
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ Swapchain::~Swapchain()
|
||||||
// m_device->destroy_image_views(m_image_views);
|
// m_device->destroy_image_views(m_image_views);
|
||||||
std::cout << "DESTROYING SWAPCHAIN" << std::endl;
|
std::cout << "DESTROYING SWAPCHAIN" << std::endl;
|
||||||
m_device->destroy_swapchain(m_swapchain);
|
m_device->destroy_swapchain(m_swapchain);
|
||||||
|
m_device->wait_idle();
|
||||||
}
|
}
|
||||||
catch (const std::exception &exp)
|
catch (const std::exception &exp)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue