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;
Show replies by date