aboutsummaryrefslogtreecommitdiff
path: root/src/library_glfw.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/library_glfw.js')
-rw-r--r--src/library_glfw.js3
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) {