mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-22 03:08:22 +00:00
Use SDL_zeroa() appropriately
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user