From 76f25086a9ab6f0c27d9e2cd745f8463c6b3df5f Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 11 Jun 2009 16:34:06 -0400 Subject: [PATCH] vfb: Re-enable 30bpp support --- hw/vfb/InitOutput.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hw/vfb/InitOutput.c b/hw/vfb/InitOutput.c index b4b845593..e7dd1d95f 100644 --- a/hw/vfb/InitOutput.c +++ b/hw/vfb/InitOutput.c @@ -892,6 +892,12 @@ vfbScreenInit(int index, ScreenPtr pScreen, int argc, char **argv) (1 << DirectColor)), 8, TrueColor, 0xff0000, 0x00ff00, 0x0000ff); break; + case 30: + miSetVisualTypesAndMasks (30, + ((1 << TrueColor) | + (1 << DirectColor)), + 10, TrueColor, 0x3ff00000, 0x000ffc00, 0x000003ff); + break; } miSetPixmapDepths ();