XQuartz: Put ifdef guards around have_depth label (-Wunused-label)
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
1a583f7940
commit
c116e32dc2
|
@ -326,7 +326,9 @@ xprAddScreen(int index, ScreenPtr pScreen)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
|
||||||
have_depth:
|
have_depth:
|
||||||
|
#endif
|
||||||
switch(depth) {
|
switch(depth) {
|
||||||
case 8: // pseudo-working
|
case 8: // pseudo-working
|
||||||
dfb->visuals = PseudoColorMask;
|
dfb->visuals = PseudoColorMask;
|
||||||
|
|
Loading…
Reference in New Issue