Skip to content

Commit 3754206

Browse files
committed
fix glut mouseFunc call
1 parent 09ebbe5 commit 3754206

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/library_glut.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ var LibraryGLUT = {
217217
if(GLUT.mouseFunc) {
218218
event.preventDefault();
219219
GLUT.saveModifiers(event);
220-
Runtime.dynCal('viiii', GLUT.mouseFunc, [event['button'], 1/*GLUT_UP*/, GLUT.lastX, GLUT.lastY]);
220+
Runtime.dynCall('viiii', GLUT.mouseFunc, [event['button'], 1/*GLUT_UP*/, GLUT.lastX, GLUT.lastY]);
221221
}
222222
},
223223

0 commit comments

Comments
 (0)