| 512 | } |
| 513 | |
| 514 | Swapchain::~Swapchain() |
| 515 | { |
| 516 | if (handle != VK_NULL_HANDLE) |
| 517 | { |
| 518 | vkDestroySwapchainKHR(device.get_handle(), handle, nullptr); |
| 519 | } |
| 520 | } |
| 521 | |
| 522 | Swapchain::Swapchain(Swapchain &&other) : |
| 523 | device{other.device}, |
nothing calls this directly
no test coverage detected