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

@ -280,6 +280,9 @@ HRESULT Hal_DirectDraw_Initialize (LPDIRECTDRAW7 iface)
This->DirectDrawGlobal.ddCaps.dwVidMemFree = mem.dwFree; This->DirectDrawGlobal.ddCaps.dwVidMemFree = mem.dwFree;
This->DirectDrawGlobal.ddCaps.dwVidMemTotal = mem.dwTotal; This->DirectDrawGlobal.ddCaps.dwVidMemTotal = mem.dwTotal;
BOOL dummy = TRUE;
DdReenableDirectDrawObject(&This->DirectDrawGlobal, &dummy);
/* Now all setup for HAL is done */ /* Now all setup for HAL is done */
return DD_OK; return DD_OK;
} }