mirror of
https://github.com/reactos/reactos.git
synced 2024-12-25 16:50:57 +00:00
I hope that this fixes all DDERR_SURFACELOST problems.
svn path=/trunk/; revision=19152
This commit is contained in:
parent
50d1415ee4
commit
f4edbfcb76
1 changed files with 3 additions and 0 deletions
|
@ -279,6 +279,9 @@ HRESULT Hal_DirectDraw_Initialize (LPDIRECTDRAW7 iface)
|
||||||
This->DirectDrawGlobal.lpDDCBtmp->HALDDMiscellaneous.GetAvailDriverMemory(&mem);
|
This->DirectDrawGlobal.lpDDCBtmp->HALDDMiscellaneous.GetAvailDriverMemory(&mem);
|
||||||
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;
|
||||||
|
|
Loading…
Reference in a new issue