summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin-Éric Racine <martin-eric.racine@iki.fi>2024-06-23 13:02:54 +0300
committerMartin-Éric Racine <martin-eric.racine@iki.fi>2024-06-23 13:02:54 +0300
commiteb79135ab2a2621315883c31d09dd98d0c5a1a02 (patch)
tree60d13e4efdad8e339785177a90e8db3f03607d4e
parentd4de71cfd501a3c969e8cd603d06035889b9fba4 (diff)
[LX] Bump the default pixel depth up to 24-bit.
Signed-off-by: Martin-Éric Racine <martin-eric.racine@iki.fi>
-rw-r--r--src/lx_driver.c2
1 files changed, 1 insertions, 1 deletions
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) {