multi-touch sample: use FG2.8 (reversed) prototype for now

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1317 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
beuc 2012-05-13 09:14:27 +00:00
parent 88512756e5
commit 352ff3e7ec

View File

@ -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;