mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 22:14:34 +00: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