Fixed editing mistakes.

master
Camilla Berglund ago%!(EXTRA string=14 years)
parent 30ab9e2058
commit de147988f2
  1. 6
      src/win32_window.c

@ -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…
Cancel
Save