diff -r 41d01d70659c -r f8816ffa210b test/testgl.c --- 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;