summaryrefslogtreecommitdiff
path: root/hw/vfb
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-06-11 16:34:06 -0400
committerAdam Jackson <ajax@redhat.com>2009-06-11 16:34:06 -0400
commit76f25086a9ab6f0c27d9e2cd745f8463c6b3df5f (patch)
tree15220c976b22873644a2fe87d56feeece2944104 /hw/vfb
parent0de58c88aba7ddd69b04f24ab5b2967c359aa69e (diff)
vfb: Re-enable 30bpp support
Diffstat (limited to 'hw/vfb')
-rw-r--r--hw/vfb/InitOutput.c6
1 files changed, 6 insertions, 0 deletions
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 ();