diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-03-11 10:34:37 +1100 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-03-11 10:34:37 +1100 |
| commit | dcfcd17a2b38c4efd50063a8c84821ac5fce5b1d (patch) | |
| tree | 4f6cf743032fe52e0dc45d8a87352f2614ceaf3b /src/device_context.cc | |
| parent | 733955de0ae90de26fe98854a1debd6b80ccc27a (diff) | |
Remove unused swapchain bookkeeping
Diffstat (limited to 'src/device_context.cc')
| -rw-r--r-- | src/device_context.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/device_context.cc b/src/device_context.cc index 97103de..d246d73 100644 --- a/src/device_context.cc +++ b/src/device_context.cc @@ -81,15 +81,6 @@ DeviceContext::Clock::ticks_to_time(const std::uint64_t& ticks) const { return time_point_t{delta}; } -void DeviceContext::notify_acquire(const VkSwapchainKHR& swapchain, - const std::uint32_t& image_index, - const VkSemaphore& signal_semaphore) { - const auto it = this->swapchain_signals.try_emplace(swapchain).first; - - // Doesn't matter if it was already there, overwrite it. - it->second.insert_or_assign(image_index, signal_semaphore); -} - void DeviceContext::sleep_in_input() { // Present hasn't happened yet, we don't know what queue to attack. if (!this->present_queue) { |
