From b27b64c25ce1dcc00f71ede51fa0fce392fa8a55 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 15 Nov 2018 20:45:32 -0800 Subject: [PATCH] Initialize the SDL timer subsystem --- app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.cpp b/app/main.cpp index 6196e2be..0dbfe3da 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -352,7 +352,7 @@ int main(int argc, char *argv[]) return -1; SDL_SetMainReady(); - if (SDL_Init(0) != 0) { + if (SDL_Init(SDL_INIT_TIMER) != 0) { SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_Init() failed: %s", SDL_GetError());