summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Nusinow <dnusinow@debian.org>2007-11-25 22:46:38 -0500
committerJulien Cristau <jcristau@debian.org>2009-01-20 13:34:12 +0000
commit0ea4c5d25763c805877557914b0c95b8c6fc8f40 (patch)
treec4be05f4bd3da25c51470cfd7aff359a967f1f08
parent1d463282b8e5befe6ab5fdd8f6688bc2a7743e43 (diff)
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 <jcristau@debian.org>
-rw-r--r--src/cg6_driver.c2
1 files changed, 1 insertions, 1 deletions
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 */