Added file to disable overlay

Disable the overlay by creating a file disable_overlay.txt next to steam_api.dll
This commit is contained in:
Nemirtingas
2019-11-08 15:57:04 +01:00
parent 547cbdbb4e
commit c8288d6bf3
3 changed files with 9 additions and 3 deletions

View File

@ -212,7 +212,8 @@ STEAMAPI_API bool S_CALLTYPE SteamAPI_Init()
Steam_Client* client = get_steam_client();
client->userLogIn();
#ifndef NO_OVERLAY
client->steam_overlay->SetupOverlay();
if( client->enable_overlay )
client->steam_overlay->SetupOverlay();
#endif
return true;