mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-27 16:39:06 +00:00
XQuartz: no DirectColor
(cherry picked from commit df2fbc410f2c484612f65a6539a6cb069ef4a468)
This commit is contained in:
@@ -304,7 +304,7 @@ xprAddScreen(int index, ScreenPtr pScreen)
|
||||
dfb->blueMask = 0;
|
||||
break;
|
||||
case 15:
|
||||
dfb->visuals = LARGE_VISUALS;
|
||||
dfb->visuals = TrueColorMask; //LARGE_VISUALS;
|
||||
dfb->preferredCVC = TrueColor;
|
||||
dfb->depth = 15;
|
||||
dfb->bitsPerRGB = 5;
|
||||
@@ -317,7 +317,7 @@ xprAddScreen(int index, ScreenPtr pScreen)
|
||||
default:
|
||||
if(depth != 24)
|
||||
ErrorF("Unsupported color depth requested. Defaulting to 24bit. (depth=%d darwinDesiredDepth=%d CGDisplaySamplesPerPixel=%d CGDisplayBitsPerSample=%d)\n", darwinDesiredDepth, depth, (int)CGDisplaySamplesPerPixel(kCGDirectMainDisplay), (int)CGDisplayBitsPerSample(kCGDirectMainDisplay));
|
||||
dfb->visuals = LARGE_VISUALS;
|
||||
dfb->visuals = TrueColorMask; //LARGE_VISUALS;
|
||||
dfb->preferredCVC = TrueColor;
|
||||
dfb->depth = 24;
|
||||
dfb->bitsPerRGB = 8;
|
||||
|
||||
Reference in New Issue
Block a user