- Do match APPLE_16_BIT to the underlying X depth (either 15 or 16 bpp)

This commit is contained in:
gbeauche 2002-04-21 11:47:18 +00:00
parent e89d481489
commit 05d3e990a5

View File

@ -333,7 +333,7 @@ static bool open_display(void)
depth = 8;
break;
case APPLE_16_BIT:
depth = 16;
depth = xdepth == 15 ? 15 : 16;
break;
case APPLE_32_BIT:
depth = 32;