Missed a call to SDL_SetRelativeMouseMode
This commit is contained in:
parent
16b301236b
commit
ea8b905f02
1 changed files with 1 additions and 1 deletions
|
|
@ -1024,7 +1024,7 @@ void Session::exec(int displayOriginX, int displayOriginY)
|
||||||
// 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->windowMode != StreamingPreferences::WM_WINDOWED) {
|
if (m_Preferences->windowMode != StreamingPreferences::WM_WINDOWED) {
|
||||||
SDL_SetRelativeMouseMode(SDL_TRUE);
|
m_InputHandler->setCaptureActive(true);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue