From: Javier Celaya <javier.celaya@xxxxxxxxxxx> Signed-off-by: Javier Celaya <javier.celaya@xxxxxxxxxxx> --- qxldod/QxlDod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp index 7bd2ead..68e3383 100755 --- a/qxldod/QxlDod.cpp +++ b/qxldod/QxlDod.cpp @@ -4792,7 +4792,7 @@ NTSTATUS HwDeviceInterface::AcquireDisplayInfo(DXGK_DISPLAY_INFORMATION& DispInf { DispInfo.Width = MIN_WIDTH_SIZE; DispInfo.Height = MIN_HEIGHT_SIZE; - DispInfo.Pitch = BPPFromPixelFormat(D3DDDIFMT_R8G8B8) / 8; + DispInfo.Pitch = MIN_WIDTH_SIZE * BPPFromPixelFormat(D3DDDIFMT_R8G8B8) / 8; DispInfo.ColorFormat = D3DDDIFMT_R8G8B8; DispInfo.TargetId = 0; if (PhysicAddress.QuadPart != 0L) -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel