remove explicit dereference
This commit is contained in:
parent
233c2d8f72
commit
80e674cc21
|
@ -176,7 +176,7 @@ void InitializeDiscord()
|
||||||
memset(&handlers, 0, sizeof(handlers));
|
memset(&handlers, 0, sizeof(handlers));
|
||||||
handlers.ready = OnReady;
|
handlers.ready = OnReady;
|
||||||
|
|
||||||
(*Discord_Initialize)(DISCORD_APP_ID, &handlers, false, "");
|
Discord_Initialize(DISCORD_APP_ID, &handlers, false, "");
|
||||||
|
|
||||||
initd = true;
|
initd = true;
|
||||||
}
|
}
|
||||||
|
@ -296,8 +296,8 @@ void discordShutdown()
|
||||||
{
|
{
|
||||||
if (handle)
|
if (handle)
|
||||||
{
|
{
|
||||||
(*Discord_ClearPresence)();
|
Discord_ClearPresence();
|
||||||
(*Discord_Shutdown)();
|
Discord_Shutdown();
|
||||||
|
|
||||||
dlclose(handle);
|
dlclose(handle);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue