Corrected type of cursor coordinates.

master
Camilla Berglund ago%!(EXTRA string=12 years)
parent 7405bc48cd
commit 7423cfa5bf
  1. 2
      src/win32_window.c

@ -539,7 +539,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
if (newCursorX != window->win32.oldCursorX ||
newCursorY != window->win32.oldCursorY)
{
int x, y;
double x, y;
if (window->cursorMode == GLFW_CURSOR_CAPTURED)
{

Loading…
Cancel
Save