diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-08 17:58:19 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-08 17:58:19 -0700 |
commit | 36e497b1dbb5e2628c2e3f7a22f641a8158a176f (patch) | |
tree | ba2062fca2b975a7886fdaeacc4229e95b5bf0e1 | |
parent | 229cb256da5547127f7512bd01a6e2bc180e71f1 (diff) | |
parent | 4ee2c4b7eeb65135bb74e746abaffea6a308083f (diff) |
Merge pull request #1035 from azmeuk/glfw
GLFW mouse 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) { |