summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2008-09-17 10:11:00 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2008-09-17 10:11:00 -0700
commit1317c8ff94c4bd32617a5398e929f667bd87da58 (patch)
treee26a640bcd22d9707514d5225b575adde44d15ee
parent934669f732c28f07b9d934d8f8f0b63ccfebd900 (diff)
XQuartz: Don't enable 8bit visuals in the TrueColor server, since it's not working yet
-rw-r--r--hw/xquartz/darwin.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/xquartz/darwin.c b/hw/xquartz/darwin.c
index 3f32779b6..5a2d58c1b 100644
--- a/hw/xquartz/darwin.c
+++ b/hw/xquartz/darwin.c
@@ -216,9 +216,10 @@ static Bool DarwinAddScreen(int index, ScreenPtr pScreen, int argc, char **argv)
dfb->greenMask, dfb->blueMask)) {
return FALSE;
}
-
- if(dfb->depth > 8)
- miSetVisualTypesAndMasks(8, PseudoColorMask, 8, PseudoColor, 0, 0, 0);
+
+// TODO: Make PseudoColor visuals not suck in TrueColor mode
+// if(dfb->depth > 8)
+// miSetVisualTypesAndMasks(8, PseudoColorMask, 8, PseudoColor, 0, 0, 0);
if(dfb->depth > 15)
miSetVisualTypesAndMasks(15, LARGE_VISUALS, 5, TrueColor, 0x7c00, 0x03e0, 0x001f);
if(dfb->depth > 24)