| 456 | } |
| 457 | |
| 458 | void daxa_ImplSwapchain::zero_ref_callback(ImplHandle const * handle) |
| 459 | { |
| 460 | auto * self = rc_cast<daxa_Swapchain>(handle); |
| 461 | if (self->device != nullptr) |
| 462 | { |
| 463 | self->full_cleanup(); |
| 464 | } |
| 465 | delete self; |
| 466 | } |
| 467 | |
| 468 | // --- End Internals --- |
nothing calls this directly
no test coverage detected