From dcfcd17a2b38c4efd50063a8c84821ac5fce5b1d Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Wed, 11 Mar 2026 10:34:37 +1100 Subject: Remove unused swapchain bookkeeping --- src/device_context.cc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/device_context.cc') 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) { -- cgit v1.2.3