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

View File

@@ -132,7 +132,7 @@ SDL_AppResult SDL_IterateMainCallbacks(bool pump_events)
void SDL_QuitMainCallbacks(void)
{
SDL_DelEventWatch(SDL_MainCallbackEventWatcher, NULL);
SDL_RemoveEventWatch(SDL_MainCallbackEventWatcher, NULL);
SDL_main_quit_callback(SDL_main_appstate);
SDL_main_appstate = NULL; // just in case.

View File

@@ -73,7 +73,7 @@ int SDL_EnterAppMainCallbacks(int argc, char* argv[], SDL_AppInit_func appinit,
}
}
SDL_DelHintCallback(SDL_HINT_MAIN_CALLBACK_RATE, MainCallbackRateHintChanged, NULL);
SDL_RemoveHintCallback(SDL_HINT_MAIN_CALLBACK_RATE, MainCallbackRateHintChanged, NULL);
}
SDL_QuitMainCallbacks();