Skip to content

Commit e647fab

Browse files
committed
Restrictions on cursor movement are controlled by another mechanism. We do not need this code.
1 parent 7c45ae8 commit e647fab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/xrEngine/Xr_input.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ BOOL CInput::iGetAsyncKeyState(int dik)
351351
BOOL CInput::iGetAsyncBtnState(int btn) { return !!mouseState[btn]; }
352352
void CInput::ClipCursor(bool clip)
353353
{
354-
HWND hwnd = Device.m_hWnd;
354+
/*HWND hwnd = Device.m_hWnd;
355355
if (hwnd)
356356
{
357357
if (clip)
@@ -364,7 +364,7 @@ void CInput::ClipCursor(bool clip)
364364
}
365365
else
366366
::ClipCursor(nullptr);
367-
}
367+
}*/
368368
}
369369

370370
void CInput::MouseUpdate()

0 commit comments

Comments
 (0)