summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-06-04 22:54:26 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-06-04 22:54:26 +0000
commit8d9c99533965da07eaec96335b59167b621f0970 (patch)
treed7aa47ea78337cd69ea949ec84fb15923553eda7 /driver
parent056f5650b4f620dd63fdd5241edb1a9b5cde2e92 (diff)
Don't set the default depth to 8bpp. These days 24/32bpp makes much more
sense. ok matthieu@
Diffstat (limited to 'driver')
-rw-r--r--driver/xf86-video-glint/src/glint_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/driver/xf86-video-glint/src/glint_driver.c b/driver/xf86-video-glint/src/glint_driver.c
index 0e504f7f0..9c7eb9cce 100644
--- a/driver/xf86-video-glint/src/glint_driver.c
+++ b/driver/xf86-video-glint/src/glint_driver.c
@@ -1101,7 +1101,6 @@ GLINTPreInit(ScrnInfoPtr pScrn, int flags)
pScrn->monitor = pScrn->confScreen->monitor;
/*
* The first thing we should figure out is the depth, bpp, etc.
- * Our default depth is 8, so pass it to the helper function.
* We support both 24bpp and 32bpp layouts, so indicate that.
*/
if (FBDevProbed) {
@@ -1115,7 +1114,7 @@ GLINTPreInit(ScrnInfoPtr pScrn, int flags)
if (!xf86SetDepthBpp(pScrn, default_depth, default_depth, fbbpp,0))
return FALSE;
} else {
- if (!xf86SetDepthBpp(pScrn, 8, 0, 0, Support24bppFb | Support32bppFb
+ if (!xf86SetDepthBpp(pScrn, 0, 0, 0, Support24bppFb | Support32bppFb
/*| SupportConvert32to24 | PreferConvert32to24*/))
return FALSE;
}