feat: added show performance overlay preference (#1209)
This commit is contained in:
parent
0531666f38
commit
a412100a11
5 changed files with 39 additions and 0 deletions
|
|
@ -1821,6 +1821,9 @@ void Session::execInternal()
|
|||
// Start rich presence to indicate we're in game
|
||||
RichPresenceManager presence(*m_Preferences, m_App.name);
|
||||
|
||||
// Toggle the stats overlay if requested by the user
|
||||
m_OverlayManager.setOverlayState(Overlay::OverlayDebug, m_Preferences->showPerformanceOverlay);
|
||||
|
||||
// Hijack this thread to be the SDL main thread. We have to do this
|
||||
// because we want to suspend all Qt processing until the stream is over.
|
||||
SDL_Event event;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue