Skip to content

Commit

Permalink
Restrictions on cursor movement are controlled by another mechanism. …
Browse files Browse the repository at this point in the history
…We do not need this code.
  • Loading branch information
intorr committed Dec 8, 2017
1 parent 7c45ae8 commit e647fab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xrEngine/Xr_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ BOOL CInput::iGetAsyncKeyState(int dik)
BOOL CInput::iGetAsyncBtnState(int btn) { return !!mouseState[btn]; }
void CInput::ClipCursor(bool clip)
{
HWND hwnd = Device.m_hWnd;
/*HWND hwnd = Device.m_hWnd;
if (hwnd)
{
if (clip)
Expand All @@ -364,7 +364,7 @@ void CInput::ClipCursor(bool clip)
}
else
::ClipCursor(nullptr);
}
}*/
}

void CInput::MouseUpdate()
Expand Down

0 comments on commit e647fab

Please sign in to comment.