[ros-diffs] [mbosma] 19152: I hope that this fixes all DDERR_SURFACELOST problems.

mbosma at svn.reactos.com mbosma at svn.reactos.com
Fri Nov 11 22:59:40 CET 2005


I hope that this fixes all DDERR_SURFACELOST problems.
Modified: trunk/reactos/lib/ddraw/hal/ddraw_hal.c
  _____  

Modified: trunk/reactos/lib/ddraw/hal/ddraw_hal.c
--- trunk/reactos/lib/ddraw/hal/ddraw_hal.c	2005-11-11 21:50:33 UTC
(rev 19151)
+++ trunk/reactos/lib/ddraw/hal/ddraw_hal.c	2005-11-11 21:59:28 UTC
(rev 19152)
@@ -279,6 +279,9 @@

 
This->DirectDrawGlobal.lpDDCBtmp->HALDDMiscellaneous.GetAvailDriverMemor
y(&mem); 
     This->DirectDrawGlobal.ddCaps.dwVidMemFree = mem.dwFree;
     This->DirectDrawGlobal.ddCaps.dwVidMemTotal = mem.dwTotal;
+
+	BOOL dummy = TRUE;
+	DdReenableDirectDrawObject(&This->DirectDrawGlobal, &dummy);
     
     /* Now all setup for HAL is done */
     return DD_OK;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051111/5495fd4b/attachment.html


More information about the Ros-diffs mailing list