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 <sameeh@daynix.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
f87019cb01
commit
f5527d0ae3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user