aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/tty.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backend/tty.rs b/src/backend/tty.rs
index 30e49289..67f99bbc 100644
--- a/src/backend/tty.rs
+++ b/src/backend/tty.rs
@@ -64,7 +64,12 @@ use crate::render_helpers::renderer::AsGlesRenderer;
use crate::render_helpers::{resources, shaders, RenderTarget};
use crate::utils::{get_monotonic_time, is_laptop_panel, logical_output};
-const SUPPORTED_COLOR_FORMATS: [Fourcc; 2] = [Fourcc::Argb8888, Fourcc::Abgr8888];
+const SUPPORTED_COLOR_FORMATS: [Fourcc; 4] = [
+ Fourcc::Xrgb8888,
+ Fourcc::Xbgr8888,
+ Fourcc::Argb8888,
+ Fourcc::Abgr8888,
+];
pub struct Tty {
config: Rc<RefCell<Config>>,