Fix release builds

This commit is contained in:
Cameron Gutman
2018-09-03 22:47:31 -04:00
parent 7dd4815edf
commit 6d6acf4308
+1 -1
View File
@@ -784,7 +784,7 @@ void Session::exec()
// Capture the mouse by default on release builds only. // Capture the mouse by default on release builds only.
// This prevents the mouse from becoming trapped inside // This prevents the mouse from becoming trapped inside
// Moonlight when it's halted at a debug break. // Moonlight when it's halted at a debug break.
if (m_Preferences.fullScreen) { if (m_Preferences.windowMode != StreamingPreferences::WM_WINDOWED) {
SDL_SetRelativeMouseMode(SDL_TRUE); SDL_SetRelativeMouseMode(SDL_TRUE);
} }
#endif #endif