mirror of
https://github.com/glfw/glfw.git
synced 2026-08-29 03:04:14 +02:00
Corrected type of cursor coordinates.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user