Sorry, I forgot this one.

svn path=/trunk/; revision=26846
This commit is contained in:
Maarten Bosma 2007-05-20 22:56:32 +00:00
parent d49bca10c2
commit 6a11c13aa1

View file

@ -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);