aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-01-03 12:02:22 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-01-03 12:02:22 -0800
commit37542062db855b3176eb27025196f02290f9fb83 (patch)
treee90127210eae5c33db9ee90b675c70edda3d5aaf
parent09ebbe53c3313e1996ad7d89c84f438a9e0708e5 (diff)
fix glut mouseFunc call
-rw-r--r--src/library_glut.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library_glut.js b/src/library_glut.js
index f0439dd2..2e662698 100644
--- a/src/library_glut.js
+++ b/src/library_glut.js
@@ -217,7 +217,7 @@ var LibraryGLUT = {
if(GLUT.mouseFunc) {
event.preventDefault();
GLUT.saveModifiers(event);
- Runtime.dynCal('viiii', GLUT.mouseFunc, [event['button'], 1/*GLUT_UP*/, GLUT.lastX, GLUT.lastY]);
+ Runtime.dynCall('viiii', GLUT.mouseFunc, [event['button'], 1/*GLUT_UP*/, GLUT.lastX, GLUT.lastY]);
}
},