From 909e6ee47c1614ea1205623bb4618b9f0e026573 Mon Sep 17 00:00:00 2001 From: Sylvain Beucler Date: Sun, 13 May 2012 09:14:27 +0000 Subject: [PATCH] multi-touch sample: use FG2.8 (reversed) prototype for now git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1317 7f0cb862-5218-0410-a997-914c9d46530a --- progs/demos/multi-touch/multi-touch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/progs/demos/multi-touch/multi-touch.c b/progs/demos/multi-touch/multi-touch.c index ee5b2bb..42842de 100644 --- a/progs/demos/multi-touch/multi-touch.c +++ b/progs/demos/multi-touch/multi-touch.c @@ -105,7 +105,9 @@ void onMotion(int x, int y) { cursors[0][0].y = y; } -void onMultiButton(int cursor_id, int button, int state, int x, int y) { +/* Using FG2.8 (reversed) prototype for now */ +/* void onMultiButton(int cursor_id, int button, int state, int x, int y) { */ +void onMultiButton(int cursor_id, int x, int y, int button, int state) { if (cursor_id > NUM_CURSORS) { fprintf(stderr, "cursor_id(%d) > NUM_CURSORS(%d)\n", cursor_id, NUM_CURSORS); return; -- 1.7.10.4