mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-26 16:18:57 +00:00
Fixed warning C6001: Using uninitialized memory 'devices'.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user