I hope that this fixes all DDERR_SURFACELOST problems.

svn path=/trunk/; revision=19152
This commit is contained in:
Maarten Bosma 2005-11-11 21:59:28 +00:00
parent 50d1415ee4
commit f4edbfcb76

View file

@ -279,6 +279,9 @@ HRESULT Hal_DirectDraw_Initialize (LPDIRECTDRAW7 iface)
This->DirectDrawGlobal.lpDDCBtmp->HALDDMiscellaneous.GetAvailDriverMemory(&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;