From 0ea4c5d25763c805877557914b0c95b8c6fc8f40 Mon Sep 17 00:00:00 2001 From: David Nusinow Date: Sun, 25 Nov 2007 22:46:38 -0500 Subject: Request 8bpp depth from the server We only support 8bpp so might as well ask for it rather than demand that the user configure this in their xorg.conf. X.Org bug#13394 (http://bugs.freedesktop.org/show_bug.cgi?id=13394) Signed-off-by: Julien Cristau --- src/cg6_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cg6_driver.c b/src/cg6_driver.c index 2ad85bb..57eae62 100644 --- a/src/cg6_driver.c +++ b/src/cg6_driver.c @@ -332,7 +332,7 @@ CG6PreInit(ScrnInfoPtr pScrn, int flags) deal with depth *********************/ - if (!xf86SetDepthBpp(pScrn, 0, 0, 0, NoDepth24Support)) { + if (!xf86SetDepthBpp(pScrn, 8, 0, 0, NoDepth24Support)) { return FALSE; } else { /* Check that the returned depth is one we support */ -- cgit v1.2.3