diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-12-09 23:48:18 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-12-09 23:48:18 -0800 |
commit | 609fb166b7062c76f0561df12ffe893811f6ac8f (patch) | |
tree | 89eaa24345f03b923acd3317572bd8756ddfcd8a | |
parent | f4b7ad9cc6b0c99fc7ee8516c4bf858ece938148 (diff) |
XQuartz: Make debugging output for invalid depths a bit more detailed
-rw-r--r-- | hw/xquartz/xpr/xprScreen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xquartz/xpr/xprScreen.c b/hw/xquartz/xpr/xprScreen.c index 18406b89c..b813727f1 100644 --- a/hw/xquartz/xpr/xprScreen.c +++ b/hw/xquartz/xpr/xprScreen.c @@ -279,7 +279,7 @@ xprAddScreen(int index, ScreenPtr pScreen) switch(depth) { case -8: // broken - FatalError("Unsupported color depth %d\n", darwinDesiredDepth); + FatalError("Unsupported color depth %d %d\n", darwinDesiredDepth, depth); dfb->visuals = (1 << StaticGray) | (1 << GrayScale); dfb->preferredCVC = GrayScale; dfb->depth = 8; @@ -320,7 +320,7 @@ xprAddScreen(int index, ScreenPtr pScreen) dfb->blueMask = 0x000000ff; break; default: - FatalError("Unsupported color depth %d\n", darwinDesiredDepth); + FatalError("Unsupported color depth %d %d\n", darwinDesiredDepth, depth); } if (noPseudoramiXExtension) |