diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-06-04 22:54:26 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-06-04 22:54:26 +0000 |
commit | 8d9c99533965da07eaec96335b59167b621f0970 (patch) | |
tree | d7aa47ea78337cd69ea949ec84fb15923553eda7 /driver/xf86-video-glint | |
parent | 056f5650b4f620dd63fdd5241edb1a9b5cde2e92 (diff) |
Don't set the default depth to 8bpp. These days 24/32bpp makes much more
sense.
ok matthieu@
Diffstat (limited to 'driver/xf86-video-glint')
-rw-r--r-- | driver/xf86-video-glint/src/glint_driver.c | 3 |
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; } |