mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Fixed editing mistakes.
This commit is contained in:
parent
30ab9e2058
commit
de147988f2
|
@ -1005,13 +1005,13 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
|
|||
if (_glfwLibrary.activeWindow != window)
|
||||
return 0;
|
||||
|
||||
x += newMouseX - window->Win32.oldMouseX;
|
||||
y += newMouseY - window->Win32.oldMouseY;
|
||||
x = newMouseX - window->Win32.oldMouseX;
|
||||
y = newMouseY - window->Win32.oldMouseY;
|
||||
}
|
||||
else
|
||||
{
|
||||
x = newMouseX;
|
||||
x = newMouseY;
|
||||
y = newMouseY;
|
||||
}
|
||||
|
||||
window->Win32.oldMouseX = newMouseX;
|
||||
|
|
Loading…
Reference in New Issue
Block a user