summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin-Éric Racine <martin-eric.racine@iki.fi>2024-06-24 19:44:50 +0300
committerMartin-Éric RACINE <martin-eric.racine@iki.fi>2024-06-24 19:44:50 +0300
commitfc81b029c9a3eab94f6985640d6c629ae70cf112 (patch)
tree0c6a8316a54a33f7acef4a746841fa98993c090f
parent224f565dec708eb0f85964e2b74c31b87c3e1808 (diff)
[LX] Make xf86SetDepthBpp use the Xserver defaults.
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 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) {