From eb79135ab2a2621315883c31d09dd98d0c5a1a02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin-=C3=89ric=20Racine?= Date: Sun, 23 Jun 2024 13:02:54 +0300 Subject: [PATCH] [LX] Bump the default pixel depth up to 24-bit. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin-Éric Racine --- src/lx_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lx_driver.c b/src/lx_driver.c index b791de7..29d8948 100644 --- a/src/lx_driver.c +++ b/src/lx_driver.c @@ -354,7 +354,7 @@ LXPreInit(ScrnInfoPtr pScrni, int flags) /* Fill in the monitor information */ pScrni->monitor = pScrni->confScreen->monitor; - if (!xf86SetDepthBpp(pScrni, 16, 16, 16, Support24bppFb | Support32bppFb)) + if (!xf86SetDepthBpp(pScrni, 24, 24, 24, Support24bppFb | Support32bppFb)) return FALSE; switch (pScrni->depth) {