[Spice-devel] [qxl-win] miniport: QXLEscape: use 5/5/5 16 bit
Alon Levy
alevy at redhat.com
Wed Oct 10 07:21:53 PDT 2012
Change IOCTL_QXL_SET_CUSTOM_DISPLAY to use 5/6/5 (via SetCustomDisplay).
The replaced 5/6/5 is not supported by us. Specifically we fail
display/rop.c:TestSrcBits and thus fail _BitBlt. I'm not sure how
exactly this causes the BSOD for 863410, but it does in fact do that,
and applying this fix, by not failing _BitBlt also fixes 863410.
RHBZ: 863410
---
miniport/qxl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/miniport/qxl.c b/miniport/qxl.c
index bd449c3..55e55d3 100644
--- a/miniport/qxl.c
+++ b/miniport/qxl.c
@@ -494,7 +494,7 @@ VP_STATUS FillVidModeInfo(VIDEO_MODE_INFORMATION *pMode, ULONG xres, ULONG yres,
switch (bpp)
{
case 16:
- FillVidModeBPP(pMode, 5, 6, 5, 0xF800, 0x7E0, 0x1F);
+ FillVidModeBPP(pMode, 5, 5, 5, 0x7C00, 0x3E0, 0x1F);
break;
case 24:
case 32:
--
1.7.12.1
More information about the Spice-devel
mailing list