test/testalpha.c
changeset 3585 f8816ffa210b
parent 2822 cf271ff76061
child 5307 89a8263374ac
--- a/test/testalpha.c	Wed Dec 16 16:42:04 2009 +0000
+++ b/test/testalpha.c	Wed Dec 16 19:50:51 2009 +0000
@@ -291,7 +291,7 @@
     if (light != NULL) {
         int x, y;
 
-        SDL_GetMouseState(0, &x, &y);
+        SDL_GetMouseState(&x, &y);
         FlashLight(screen, light, x, y);
     }