Renamed SDL_Del* to SDL_Remove*

This commit is contained in:
Sam Lantinga 2024-08-31 07:23:51 -07:00
parent cf1d8e2dfd
commit f827c1322c
45 changed files with 118 additions and 98 deletions
src/hidapi

View file

@ -1287,8 +1287,8 @@ int SDL_hid_exit(void)
}
#endif // HAVE_LIBUSB
SDL_DelHintCallback(SDL_HINT_HIDAPI_ENUMERATE_ONLY_CONTROLLERS, OnlyControllersChanged, NULL);
SDL_DelHintCallback(SDL_HINT_HIDAPI_IGNORE_DEVICES, IgnoredDevicesChanged, NULL);
SDL_RemoveHintCallback(SDL_HINT_HIDAPI_ENUMERATE_ONLY_CONTROLLERS, OnlyControllersChanged, NULL);
SDL_RemoveHintCallback(SDL_HINT_HIDAPI_IGNORE_DEVICES, IgnoredDevicesChanged, NULL);
if (SDL_hidapi_ignored_devices) {
SDL_free(SDL_hidapi_ignored_devices);