mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-21 15:57:12 +00:00
feat: added show performance overlay preference (#1209)
This commit is contained in:
1 parent
0531666f38
commit
a412100a11
5 files changed
+39
No files matched your search
@@ -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