[WIN32K][DXG] DxDdReenableDirectDrawObject: update dhpdev. It is wrong after screen...
authorSebastian Gasiorek <sebastian.gasiorek@reactos.org>
Sat, 1 Jul 2017 20:12:37 +0000 (20:12 +0000)
committerSebastian Gasiorek <sebastian.gasiorek@reactos.org>
Sat, 1 Jul 2017 20:12:37 +0000 (20:12 +0000)
svn path=/trunk/; revision=75259

reactos/win32ss/reactx/dxg/ddraw.c

index dbea2ee..582a897 100644 (file)
@@ -569,6 +569,7 @@ DxDdReenableDirectDrawObject(
         // reset acceleration and suspend flags
         peDdGl->fl &= 0xFFFFFFFD;
         peDdGl->bSuspended = 0;
         // reset acceleration and suspend flags
         peDdGl->fl &= 0xFFFFFFFD;
         peDdGl->bSuspended = 0;
+        peDdGl->dhpdev = (PVOID)gpEngFuncs.DxEngGetHdevData(peDdGl->hDev, DxEGShDevData_dhpdev);
 
         RetVal = TRUE;
         // FIXME AGP Stuff
 
         RetVal = TRUE;
         // FIXME AGP Stuff