Fixed cursor centering for odd window sizes.

This commit is contained in:
Camilla Berglund
2013-11-13 12:19:43 +01:00
parent d82095d7ea
commit 7af99bce88
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ typedef struct _GLFWwindowWin32
GLboolean cursorCentered;
GLboolean cursorInside;
GLboolean cursorHidden;
double oldCursorX, oldCursorY;
int oldCursorX, oldCursorY;
} _GLFWwindowWin32;