mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-01 03:53:37 +00:00
[host] fixed DXGI cursor offset
This commit is contained in:
parent
3d462928a6
commit
8c8d0ec7af
1 changed files with 2 additions and 2 deletions
|
@ -375,8 +375,8 @@ GrabStatus DXGI::GrabFrame(FrameInfo & frame)
|
|||
|
||||
POINT cursorPos;
|
||||
POINT cursorRect;
|
||||
cursorPos.x = m_pointerPos.x - m_shapeInfo.HotSpot.x;
|
||||
cursorPos.y = m_pointerPos.y - m_shapeInfo.HotSpot.y;
|
||||
cursorPos.x = m_pointerPos.x;
|
||||
cursorPos.y = m_pointerPos.y;
|
||||
cursorRect.x = m_shapeInfo.Width;
|
||||
cursorRect.y = m_shapeInfo.Height;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue