Mercurial > sdl-ios-xcode
diff Xcode-iPhoneOS/Demos/src/fireworks.c @ 4490:06c7423f8c60
Updated iPhone keyboard code (which builds and runs on the iPad and iPhone simulator now)
Updated iPhone demos (which build and run again)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 07 Jul 2010 18:58:51 -0700 |
parents | 64ce267332c6 |
children | 78db79f5a4e2 |
line wrap: on
line diff
--- a/Xcode-iPhoneOS/Demos/src/fireworks.c Tue Jul 06 22:26:03 2010 -0700 +++ b/Xcode-iPhoneOS/Demos/src/fireworks.c Wed Jul 07 18:58:51 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); }