mirror of
https://github.com/reactos/reactos.git
synced 2024-07-11 23:25:09 +00:00
adding get FourCC working now
svn path=/trunk/; revision=27049
This commit is contained in:
parent
a4e1dbf9bd
commit
eafaa0751c
|
@ -438,7 +438,6 @@ StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable)
|
||||||
return DD_FALSE;
|
return DD_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
DX_STUB_str("Trying alloc FourCCC \n");
|
DX_STUB_str("Trying alloc FourCCC \n");
|
||||||
|
|
||||||
/* Alloc mpFourCC */
|
/* Alloc mpFourCC */
|
||||||
|
@ -449,9 +448,8 @@ StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable)
|
||||||
|
|
||||||
if (mHALInfo.ddCaps.dwNumFourCCCodes > 0 )
|
if (mHALInfo.ddCaps.dwNumFourCCCodes > 0 )
|
||||||
{
|
{
|
||||||
DxHeapMemAlloc(mpFourCC, sizeof(DWORD) * 21);
|
|
||||||
|
DxHeapMemAlloc(mpFourCC, sizeof(DWORD) * (mHALInfo.ddCaps.dwNumFourCCCodes + 2));
|
||||||
mpFourCC = (DWORD *) DxHeapMemAlloc(sizeof(DWORD) * (mHALInfo.ddCaps.dwNumFourCCCodes + 2));
|
|
||||||
|
|
||||||
if (mpFourCC == NULL)
|
if (mpFourCC == NULL)
|
||||||
{
|
{
|
||||||
|
@ -462,7 +460,7 @@ StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable)
|
||||||
}
|
}
|
||||||
|
|
||||||
DX_STUB_str("End Trying alloc FourCCC\n");
|
DX_STUB_str("End Trying alloc FourCCC\n");
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue