mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-03 00:06:09 +00:00
Initialize the SDL timer subsystem
This commit is contained in:
parent
bfc64c926a
commit
b27b64c25c
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user