From ebd94a7e7ae435d066684a72406e0447d46d6bc9 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 11 Aug 2026 19:57:08 +0300 Subject: [PATCH] tty: Remove explicit opaque color formats --- src/backend/tty.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/backend/tty.rs b/src/backend/tty.rs index a534aae6..bba60296 100644 --- a/src/backend/tty.rs +++ b/src/backend/tty.rs @@ -72,11 +72,10 @@ use crate::utils::{get_monotonic_time, is_laptop_panel, logical_output, PanelOri // specific 10-bit formats for multigpu setup, // i.e. copying from rendering Nvidia dGPU to target iGPU. -const SUPPORTED_COLOR_FORMATS: [Fourcc; 6] = [ - Fourcc::Xbgr2101010, +// +// Smithay should fall back to Xrgb/Xbgr automatically if needed. +const SUPPORTED_COLOR_FORMATS: [Fourcc; 3] = [ Fourcc::Abgr2101010, - Fourcc::Xrgb8888, - Fourcc::Xbgr8888, Fourcc::Argb8888, Fourcc::Abgr8888, ];