Report 16bpp for modes where VBE returns 15bpp.
Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c
_____
Modified: trunk/reactos/drivers/video/miniport/vbe/vbemp.c
--- trunk/reactos/drivers/video/miniport/vbe/vbemp.c 2005-05-26
19:57:54 UTC (rev 15527)
+++ trunk/reactos/drivers/video/miniport/vbe/vbemp.c 2005-05-26
19:58:58 UTC (rev 15528)
@@ -885,6 +885,14 @@
VideoMode->YMillimeter = 0; /* FIXME */
if (VBEMode->BitsPerPixel > 8)
{
+ /*
+ * Always report 16bpp modes and not 15bpp mode...
+ */
+ if (VBEMode->BitsPerPixel == 15 && VBEMode->NumberOfPlanes == 1)
+ {
+ VideoMode->BitsPerPlane = 16;
+ }
+
if (DeviceExtension->VbeInfo.Version < 0x300)
{
VideoMode->NumberRedBits = VBEMode->RedMaskSize;
Show replies by date