Use SDL_zeroa() appropriately
parent
733f25252a
commit
6dce9733d9
|
@ -259,7 +259,7 @@ WIN_IsXInputDevice(const GUID* pGuidProductFromDirectInput)
|
||||||
VARIANT var;
|
VARIANT var;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
SDL_zero(pDevices);
|
SDL_zeroa(pDevices);
|
||||||
|
|
||||||
// Create WMI
|
// Create WMI
|
||||||
hr = CoCreateInstance(&CLSID_WbemLocator,
|
hr = CoCreateInstance(&CLSID_WbemLocator,
|
||||||
|
|
Loading…
Reference in New Issue