Mercurial > sdl-ios-xcode
diff Xcode-iPhoneOS/Demos/src/fireworks.c @ 4661:03dcb795c583
Merged changes from the main SDL codebase
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 12 Jul 2010 21:09:23 -0700 |
parents | 06c7423f8c60 |
children | 78db79f5a4e2 |
line wrap: on
line diff
--- a/Xcode-iPhoneOS/Demos/src/fireworks.c Mon Jul 12 22:03:25 2010 -0400 +++ b/Xcode-iPhoneOS/Demos/src/fireworks.c Mon Jul 12 21:09:23 2010 -0700 @@ -430,9 +430,7 @@ done = 1; } if (event.type == SDL_MOUSEBUTTONDOWN) { - int which = event.button.which; int x, y; - SDL_SelectMouse(which); SDL_GetMouseState(&x, &y); spawnEmitterParticle(x, y); }