mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 15:44:35 +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)
|
if (_glfwLibrary.activeWindow != window)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
x += newMouseX - window->Win32.oldMouseX;
|
x = newMouseX - window->Win32.oldMouseX;
|
||||||
y += newMouseY - window->Win32.oldMouseY;
|
y = newMouseY - window->Win32.oldMouseY;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
x = newMouseX;
|
x = newMouseX;
|
||||||
x = newMouseY;
|
y = newMouseY;
|
||||||
}
|
}
|
||||||
|
|
||||||
window->Win32.oldMouseX = newMouseX;
|
window->Win32.oldMouseX = newMouseX;
|
||||||
|
Loading…
Reference in New Issue
Block a user