diff options
author | Éloi Rivard <azmeuk@gmail.com> | 2013-04-05 17:39:49 +0200 |
---|---|---|
committer | Éloi Rivard <azmeuk@gmail.com> | 2013-04-05 17:39:49 +0200 |
commit | 4ee2c4b7eeb65135bb74e746abaffea6a308083f (patch) | |
tree | edc3cb5abf2cf827f2101aec1dc549a3cacdebba | |
parent | d79e23b630c76f628b9f183106912d1f47b14d22 (diff) |
* Fixed GLFW mouse position bug.
-rw-r--r-- | src/library_glfw.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/library_glfw.js b/src/library_glfw.js index 71552cd8..8bf3616f 100644 --- a/src/library_glfw.js +++ b/src/library_glfw.js @@ -32,7 +32,6 @@ var LibraryGLFW = { resizeFunc: null, closeFunc: null, refreshFunc: null, - mouseFunc: null, params: null, initTime: null, wheelPos: 0, @@ -470,7 +469,7 @@ var LibraryGLFW = { }, glfwSetMousePosCallback: function(cbfun) { - GLFW.mouseFunc = cbfun; + GLFW.mousePosFunc = cbfun; }, glfwSetMouseWheelCallback: function(cbfun) { |