aboutsummaryrefslogtreecommitdiff
path: root/src/device_context.hh
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-04-01 00:49:34 +1100
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-04-01 00:49:34 +1100
commit31c69428639c0674339c3752c5401542d38693bc (patch)
treee5d215ffbbe6ec0630aaadef6afa218cd6f60a21 /src/device_context.hh
parentaa3dbff2342a4d698c10a5fd816904de01b03605 (diff)
Turn shared_ptr to unique_ptr in Context, strictly transfer ownership in notify_present
Diffstat (limited to 'src/device_context.hh')
-rw-r--r--src/device_context.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device_context.hh b/src/device_context.hh
index ed2991b..df1b58d 100644
--- a/src/device_context.hh
+++ b/src/device_context.hh
@@ -53,7 +53,7 @@ class DeviceContext final : public Context {
const bool was_low_latency_requested);
void notify_present(const VkSwapchainKHR& swapchain,
- const QueueContext::submissions_ptr_t& submissions);
+ std::unique_ptr<QueueContext::Submissions> submissions);
};
}; // namespace low_latency