src/SDL_compat.c
changeset 3585 f8816ffa210b
parent 3581 15eea7a1fa97
child 3592 25dc4a86132c
--- a/src/SDL_compat.c	Wed Dec 16 16:42:04 2009 +0000
+++ b/src/SDL_compat.c	Wed Dec 16 19:50:51 2009 +0000
@@ -285,7 +285,7 @@
             }
 
             selected = SDL_SelectMouse(event->wheel.which);
-            SDL_GetMouseState(selected, &x, &y);
+            SDL_GetMouseState(&x, &y);
             SDL_SelectMouse(selected);
 
             if (event->wheel.y > 0) {