mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00:00
Sorry, I forgot this one.
svn path=/trunk/; revision=26846
This commit is contained in:
parent
d49bca10c2
commit
6a11c13aa1
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable)
|
||||||
DdGetDriverInfo.guidInfo = GUID_MiscellaneousCallbacks;
|
DdGetDriverInfo.guidInfo = GUID_MiscellaneousCallbacks;
|
||||||
DdGetDriverInfo.lpvData = (PVOID)&ddgbl.lpDDCBtmp->cbDDMiscellaneousCallbacks;
|
DdGetDriverInfo.lpvData = (PVOID)&ddgbl.lpDDCBtmp->cbDDMiscellaneousCallbacks;
|
||||||
DdGetDriverInfo.dwExpectedSize = sizeof (DDHAL_DDMISCELLANEOUSCALLBACKS);
|
DdGetDriverInfo.dwExpectedSize = sizeof (DDHAL_DDMISCELLANEOUSCALLBACKS);
|
||||||
if(mHALInfo.GetDriverInfo (&DdGetDriverInfo) == DDHAL_DRIVER_NOTHANDLED || DdGetDriverInfo.dwExpectedSize)
|
if(mHALInfo.GetDriverInfo (&DdGetDriverInfo) == DDHAL_DRIVER_NOTHANDLED || DdGetDriverInfo.ddRVal != DD_OK)
|
||||||
{
|
{
|
||||||
DxHeapMemFree(mpFourCC);
|
DxHeapMemFree(mpFourCC);
|
||||||
DxHeapMemFree(mpTextures);
|
DxHeapMemFree(mpTextures);
|
||||||
|
|
Loading…
Reference in a new issue