From f5527d0ae3d552eb5329001ad9aaaeff2f37dbd5 Mon Sep 17 00:00:00 2001 From: Sameeh Jubran Date: Mon, 26 Sep 2016 16:00:10 +0300 Subject: [PATCH] Removing unnecessary call to BlackOutScreen This call to BlackOutScreen is not needed since the actual display surface is destroyed and created (redrawn) again. Signed-off-by: Sameeh Jubran Acked-by: Frediano Ziglio --- qxldod/QxlDod.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp index 5dada4f..e12aeed 100755 --- a/qxldod/QxlDod.cpp +++ b/qxldod/QxlDod.cpp @@ -1537,7 +1537,6 @@ NTSTATUS QxlDod::SetSourceModeAndPath(CONST D3DKMDT_VIDPN_SOURCE_MODE* pSourceMo { pCurrentBddMode->Flags.FrameBufferIsActive = TRUE; - m_pHWDevice->BlackOutScreen(&m_CurrentModes[pPath->VidPnSourceId]); // Mark that the next present should be fullscreen so the screen doesn't go from black to actual pixels one dirty rect at a time. pCurrentBddMode->Flags.FullscreenPresent = TRUE;