From 88f3e7e9d519ae704cab78548c6f6bf02a0b0841 Mon Sep 17 00:00:00 2001 From: Visal Vijay <150381094+B2krobbery@users.noreply.github.com> Date: Tue, 14 Apr 2026 22:54:44 +0530 Subject: monitor: ensure swapchain is updated before mode test (#14065) * monitor: ensure swapchain is updated before mode test * monitor: ensure swapchain update via helper for all mode set paths * monitor: fix formatting * monitor: move swapchain helper to CMonitorState * monitor: move swapchain helper to CMonitorState --- src/helpers/Monitor.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/helpers/Monitor.hpp') diff --git a/src/helpers/Monitor.hpp b/src/helpers/Monitor.hpp index 12a5de6b..74fe676b 100644 --- a/src/helpers/Monitor.hpp +++ b/src/helpers/Monitor.hpp @@ -92,6 +92,8 @@ class CMonitorState { bool commit(); bool test(); bool updateSwapchain(); + void applyModeWithSwapchain(const SP& mode); + void applyCustomModeWithSwapchain(const SP& mode); private: void ensureBufferPresent(); -- cgit v1.2.3