NoGUI/SDL: Implement pause on focus loss

This commit is contained in:
Connor McLaughlin
2021-05-11 15:14:03 +10:00
parent ab0364eb8f
commit 8e9fbf63a3
2 changed files with 35 additions and 5 deletions

View File

@@ -34,4 +34,5 @@ private:
SDL_Window* m_window = nullptr;
bool m_fullscreen = false;
bool m_was_paused_by_focus_loss = false;
};