diff options
Diffstat (limited to 'src/backend/tty.rs')
| -rw-r--r-- | src/backend/tty.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/tty.rs b/src/backend/tty.rs index 5ad08649..a1c75c8d 100644 --- a/src/backend/tty.rs +++ b/src/backend/tty.rs @@ -43,7 +43,6 @@ use crate::niri::{OutputRenderElements, State, RedrawState}; use crate::utils::get_monotonic_time; use crate::Niri; -const BACKGROUND_COLOR: [f32; 4] = [0.1, 0.1, 0.1, 1.]; const SUPPORTED_COLOR_FORMATS: &[Fourcc] = &[Fourcc::Argb8888, Fourcc::Abgr8888]; pub struct Tty { @@ -858,7 +857,7 @@ impl Tty { match drm_compositor.render_frame::<_, _, GlesTexture>( &mut device.gles, elements, - BACKGROUND_COLOR, + niri.clear_color(), ) { Ok(res) => { if self |
