aboutsummaryrefslogtreecommitdiff
path: root/src/queue_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue_context.cc')
-rw-r--r--src/queue_context.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/queue_context.cc b/src/queue_context.cc
index 1192bb6..437a183 100644
--- a/src/queue_context.cc
+++ b/src/queue_context.cc
@@ -76,6 +76,7 @@ void QueueContext::notify_submit(
void QueueContext::notify_present(const VkSwapchainKHR& swapchain,
const present_id_t& present_id) {
+
// Notify the device that this swapchain was just presented to.
// We're avoiding a double hash here - don't use operator[] and erase.
auto iter = this->unpresented_submissions.try_emplace(present_id).first;