From fc81b029c9a3eab94f6985640d6c629ae70cf112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin-=C3=89ric=20Racine?= Date: Mon, 24 Jun 2024 19:44:50 +0300 Subject: [LX] Make xf86SetDepthBpp use the Xserver defaults. 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 5ab88db..0d43096 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, 24, 24, 24, Support24bppFb | Support32bppFb)) + if (!xf86SetDepthBpp(pScrni, 0, 0, 0, Support24bppFb | Support32bppFb)) return FALSE; switch (pScrni->depth) { -- cgit v1.2.3