mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-16 06:45:59 +00:00
Fixed crash after reinitializing libusb HID support
This commit is contained in:
@@ -480,6 +480,7 @@ static void usb_string_cache_destroy()
|
|||||||
|
|
||||||
usb_string_cache = NULL;
|
usb_string_cache = NULL;
|
||||||
usb_string_cache_size = 0;
|
usb_string_cache_size = 0;
|
||||||
|
usb_string_cache_insert_pos = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct usb_string_cache_entry *usb_string_cache_insert()
|
static struct usb_string_cache_entry *usb_string_cache_insert()
|
||||||
|
Reference in New Issue
Block a user