Passing the flag QXL_SURF_FLAG_KEEP_DATA to the new created surface
causes weird flickering, thus this should be set to 0.

Acked-by: Frediano Ziglio <[email protected]>

Signed-off-by: Sameeh Jubran <[email protected]>
---
 qxldod/QxlDod.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index 8371844..c798be1 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -3442,7 +3442,7 @@ void 
QxlDevice::CreatePrimarySurface(PVIDEO_MODE_INFORMATION pModeInfo)
 
     primary_surface_create->mem = PA( m_RamStart, m_MainMemSlot);
 
-    primary_surface_create->flags = QXL_SURF_FLAG_KEEP_DATA;
+    primary_surface_create->flags = 0;
     primary_surface_create->type = QXL_SURF_TYPE_PRIMARY;
     DbgPrint(TRACE_LEVEL_VERBOSE, ("<--> %s format = %d, width = %d, height = 
%d, stride = %d\n", __FUNCTION__, pModeInfo->BitsPerPlane, 
pModeInfo->VisScreenWidth, pModeInfo->VisScreenHeight,
                                      pModeInfo->ScreenStride));
-- 
2.7.0.windows.1

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to