mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-07 16:26:09 +00:00
feat: added show performance overlay preference (#1209)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user