Fixed Linux build
This commit is contained in:
parent
76e3bb55bb
commit
b9b0df40bf
2 changed files with 19 additions and 16 deletions
|
@ -1003,13 +1003,6 @@ HIDAPI_JoystickQuit(void)
|
|||
|
||||
SDL_HIDAPI_QuitRumble();
|
||||
|
||||
#if defined(HAVE_INOTIFY)
|
||||
if (inotify_fd >= 0) {
|
||||
close(inotify_fd);
|
||||
inotify_fd = -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
while (SDL_HIDAPI_devices) {
|
||||
HIDAPI_DelDevice(SDL_HIDAPI_devices);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue