diff test/testgl.c @ 2710:44e49d3fa6cf

Final merge of Google Summer of Code 2008 work... Many-mouse and tablet support by Szymon Wilczek, mentored by Ryan C. Gordon Everything concerning the project is noted on the wiki: http://wilku.ravenlord.ws/doku.php?id=start
author Sam Lantinga <slouken@libsdl.org>
date Mon, 25 Aug 2008 06:33:00 +0000
parents 5835745560bf
children 7812d3e9564e
line wrap: on
line diff
--- a/test/testgl.c	Mon Aug 25 05:30:28 2008 +0000
+++ b/test/testgl.c	Mon Aug 25 06:33:00 2008 +0000
@@ -270,7 +270,7 @@
     }
 
     /* Move the image around */
-    SDL_GetMouseState(&x, &y);
+    SDL_GetMouseState(0, &x, &y);
     x -= w / 2;
     y -= h / 2;