[WIN32K:ENG]

- In PDEVOBJ_vRefreshModeList, restore the current mode pointer, ppdev->pdmwDev, to a valid value.
CORE-13097 #resolve

svn path=/trunk/; revision=74404
This commit is contained in:
Thomas Faber 2017-04-24 16:28:04 +00:00
parent e395d953b3
commit 384affe098

View file

@ -293,6 +293,8 @@ PDEVOBJ_vRefreshModeList(
DPRINT1("FIXME: EngpPopulateDeviceModeList failed, we just destroyed a perfectly good mode list\n");
}
ppdev->pdmwDev = pGraphicsDevice->pDevModeList[pGraphicsDevice->iCurrentMode].pdm;
/* Unlock PDEV */
EngReleaseSemaphore(ppdev->hsemDevLock);
}