mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2026-01-08 07:28:52 +01:00
Make io thread optional
This commit is contained in:
parent
6168a36201
commit
0d0485444d
4 changed files with 31 additions and 9 deletions
|
|
@ -70,7 +70,11 @@ static void gameLoop() {
|
|||
++FrustrationLevel;
|
||||
|
||||
updateDiscordPresence();
|
||||
Discord_Update();
|
||||
|
||||
#ifdef DISCORD_DISABLE_IO_THREAD
|
||||
Discord_UpdateConnection();
|
||||
#endif
|
||||
Discord_RunCallbacks();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue