fixed declaration of GLFWcursorposfun.
x and y used to be ints. They are now doubles.