xaudio2: Zero the returned struct GetPerformanceData.
Some applications use this for debug logging. Better to return zero than uninitialized data.
This commit is contained in:
parent
8a317d89cf
commit
a79f050355
|
@ -1669,6 +1669,8 @@ static void WINAPI IXAudio2Impl_GetPerformanceData(IXAudio2 *iface,
|
|||
IXAudio2Impl *This = impl_from_IXAudio2(iface);
|
||||
|
||||
FIXME("(%p)->(%p): stub!\n", This, pPerfData);
|
||||
|
||||
memset(pPerfData, 0, sizeof(*pPerfData));
|
||||
}
|
||||
|
||||
static void WINAPI IXAudio2Impl_SetDebugConfiguration(IXAudio2 *iface,
|
||||
|
|
Loading…
Reference in New Issue