output: don't use config Vrr and Tearing modes
This commit is contained in:
parent
e063b7c14b
commit
fb9b83994a
14 changed files with 55 additions and 56 deletions
|
|
@ -134,9 +134,9 @@ pub struct PersistentOutputState {
|
|||
pub transform: Cell<Transform>,
|
||||
pub scale: Cell<crate::scale::Scale>,
|
||||
pub pos: Cell<(i32, i32)>,
|
||||
pub vrr_mode: Cell<&'static VrrMode>,
|
||||
pub vrr_mode: Cell<VrrMode>,
|
||||
pub vrr_cursor_hz: Cell<Option<f64>>,
|
||||
pub tearing_mode: Cell<&'static TearingMode>,
|
||||
pub tearing_mode: Cell<TearingMode>,
|
||||
pub brightness: Cell<Option<f64>>,
|
||||
pub blend_space: Cell<BlendSpace>,
|
||||
pub use_native_gamut: Cell<bool>,
|
||||
|
|
@ -148,9 +148,9 @@ impl Default for PersistentOutputState {
|
|||
transform: Default::default(),
|
||||
scale: Default::default(),
|
||||
pos: Default::default(),
|
||||
vrr_mode: Cell::new(&VrrMode::Never),
|
||||
vrr_mode: Cell::new(VrrMode::Never),
|
||||
vrr_cursor_hz: Default::default(),
|
||||
tearing_mode: Cell::new(&TearingMode::Never),
|
||||
tearing_mode: Cell::new(TearingMode::Never),
|
||||
brightness: Default::default(),
|
||||
blend_space: Cell::new(BlendSpace::Srgb),
|
||||
use_native_gamut: Cell::new(false),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue