test/testgl.c
changeset 3585 f8816ffa210b
parent 3571 19691cebb866
child 4884 27ab20a36eba
--- a/test/testgl.c	Wed Dec 16 16:42:04 2009 +0000
+++ b/test/testgl.c	Wed Dec 16 19:50:51 2009 +0000
@@ -270,7 +270,7 @@
     }
 
     /* Move the image around */
-    SDL_GetMouseState(0, &x, &y);
+    SDL_GetMouseState(&x, &y);
     x -= w / 2;
     y -= h / 2;