aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/glut_touchevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/glut_touchevents.c b/tests/glut_touchevents.c
index 1f097895..2a0054bb 100644
--- a/tests/glut_touchevents.c
+++ b/tests/glut_touchevents.c
@@ -44,7 +44,7 @@ int main(int argc, char *argv[])
event.target = Module['canvas'];
event.button = 0;
event.touches = touches;
- event.initUIEvent(eventType, true, true);
+ event.initUIEvent(eventType, true, true, window, 1);
Module['canvas'].dispatchEvent(event);
}
));