From 092095ead005ff073344b723f00b08a5b845f186 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 14 Sep 2023 09:33:42 +0400 Subject: Add debug flag to wait for frame completion --- src/config.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index b624f88e..d309e23c 100644 --- a/src/config.rs +++ b/src/config.rs @@ -130,6 +130,8 @@ pub struct DebugConfig { pub animation_slowdown: f64, #[knuffel(child)] pub screen_cast_in_non_session_instances: bool, + #[knuffel(child)] + pub wait_for_frame_completion_before_queueing: bool, } impl Default for DebugConfig { @@ -137,6 +139,7 @@ impl Default for DebugConfig { Self { animation_slowdown: 1., screen_cast_in_non_session_instances: false, + wait_for_frame_completion_before_queueing: false, } } } -- cgit