From 7423cfa5bf3324c0526a92d9d7a5aa36bf0c7604 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 22 Apr 2013 16:04:24 +0200 Subject: [PATCH] Corrected type of cursor coordinates. --- src/win32_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32_window.c b/src/win32_window.c index 1063034a..45111ab4 100644 --- a/src/win32_window.c +++ b/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) {