Author: tfaber
Date: Mon Apr 24 16:28:04 2017
New Revision: 74404
URL:
http://svn.reactos.org/svn/reactos?rev=74404&view=rev
Log:
[WIN32K:ENG]
- In PDEVOBJ_vRefreshModeList, restore the current mode pointer, ppdev->pdmwDev, to a
valid value.
CORE-13097 #resolve
Modified:
trunk/reactos/win32ss/gdi/eng/pdevobj.c
Modified: trunk/reactos/win32ss/gdi/eng/pdevobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/eng/pdevobj.c?…
==============================================================================
--- trunk/reactos/win32ss/gdi/eng/pdevobj.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/eng/pdevobj.c [iso-8859-1] Mon Apr 24 16:28:04 2017
@@ -292,6 +292,8 @@
{
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);