XQuartz: Make debugging output for invalid depths a bit more detailed
(cherry picked from commit 609fb166b7
)
This commit is contained in:
parent
fdf6425612
commit
1962af7ee3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user