mirror of https://github.com/libsdl-org/SDL.git
Fixed warning C6001: Using uninitialized memory 'devices'.
This commit is contained in:
parent
940f7535ef
commit
abd8ea09de
|
|
@ -63,6 +63,8 @@ static DWORD WINAPI WIN_RawInputThread(LPVOID param)
|
|||
return 0;
|
||||
}
|
||||
|
||||
SDL_zeroa(devices);
|
||||
|
||||
if (data->flags & ENABLE_RAW_MOUSE_INPUT) {
|
||||
devices[count].usUsagePage = USB_USAGEPAGE_GENERIC_DESKTOP;
|
||||
devices[count].usUsage = USB_USAGE_GENERIC_MOUSE;
|
||||
|
|
|
|||
Loading…
Reference in New Issue