aboutsummaryrefslogtreecommitdiff
path: root/tests/glut_touchevents.c
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-22 19:28:45 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-22 19:28:45 -0700
commit279742746485d14243b246cfd32d0b4f9e66e110 (patch)
treebbed48533085054fd5073818d484bd67972b1814 /tests/glut_touchevents.c
parentc61081ec5bbe51a116cd0820fad9790ed9ebc8da (diff)
fix test_glut_touchevents
Diffstat (limited to 'tests/glut_touchevents.c')
-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);
}
));