Missed a call to SDL_SetRelativeMouseMode

This commit is contained in:
Cameron Gutman
2019-07-02 22:39:09 -07:00
parent 16b301236b
commit ea8b905f02

View File

@@ -1024,7 +1024,7 @@ void Session::exec(int displayOriginX, int displayOriginY)
// This prevents the mouse from becoming trapped inside
// Moonlight when it's halted at a debug break.
if (m_Preferences->windowMode != StreamingPreferences::WM_WINDOWED) {
SDL_SetRelativeMouseMode(SDL_TRUE);
m_InputHandler->setCaptureActive(true);
}
#endif