Removed SDL_INIT_TIMER

This is no longer necessary before calling SDL_AddTimer()
This commit is contained in:
Sam Lantinga committed 2024-09-17 08:53:27 -07:00
1 parent 9275c533ca
commit f3e419596b
10 files changed
+6 -52

No files matched your search

+1 -1
View File
@@ -283,7 +283,7 @@ SDL_AppResult SDL_AppIterate(void *appstate)
SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
{
if (!SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER)) {
if (!SDL_Init(SDL_INIT_VIDEO)) {
return SDL_APP_FAILURE;
}