mirror of https://github.com/encounter/SDL.git
Fixed crash after reinitializing libusb HID support
This commit is contained in:
parent
c33e3c15fb
commit
cb5e86353b
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue