mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 00:54:40 +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
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue