diff test/testalpha.c @ 3585:f8816ffa210b

Initial band-aids on SDL_GetMouseState() API breakage. More work to come. Fixes Bugzilla #758.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 16 Dec 2009 19:50:51 +0000
parents cf271ff76061
children
line wrap: on
line diff
--- 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);
     }