diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-31 16:15:00 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-31 16:15:00 +1100 |
| commit | 5e3837cadac73ba5b7d4085cddc48b0e816d826a (patch) | |
| tree | ced4c413506409f17806a5c6ea4864b4026ca924 /src/device_context.cc | |
| parent | df2933fd9c0ea2a99e89a6837123dfdf8b549d4a (diff) | |
Fix vram leak in Cyberpunk 2077, reduce duplicated logic + general cleanup
Diffstat (limited to 'src/device_context.cc')
| -rw-r--r-- | src/device_context.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device_context.cc b/src/device_context.cc index b52fec4..33f2aa4 100644 --- a/src/device_context.cc +++ b/src/device_context.cc @@ -34,7 +34,7 @@ void DeviceContext::update_params( const bool was_low_latency_requested) { // If we don't have a target (AMD's anti_lag doesn't differentiate between - // swapchains), just write it to everything. + // swapchains) just write it to everything. if (!target.has_value()) { for (auto& iter : this->swapchain_monitors) { iter.second->update_params(was_low_latency_requested, present_delay); @@ -49,7 +49,7 @@ void DeviceContext::update_params( void DeviceContext::notify_present( const VkSwapchainKHR& swapchain, - const QueueContext::submissions_t& submissions) { + const QueueContext::submissions_ptr_t& submissions) { const auto iter = this->swapchain_monitors.find(swapchain); assert(iter != std::end(this->swapchain_monitors)); |
