Mercurial > sdl-ios-xcode
diff Xcode-iPhoneOS/Demos/src/touch.c @ 4755:436183eb30c8
Merge with main repo (mainly for non-printable character fix)
author | dewyatt |
---|---|
date | Sun, 18 Jul 2010 13:48:23 -0400 |
parents | 06c7423f8c60 |
children | 78db79f5a4e2 |
line wrap: on
line diff
--- a/Xcode-iPhoneOS/Demos/src/touch.c Tue Jul 13 15:05:45 2010 -0400 +++ b/Xcode-iPhoneOS/Demos/src/touch.c Sun Jul 18 13:48:23 2010 -0400 @@ -106,7 +106,6 @@ done = 1; break; case SDL_MOUSEMOTION: - SDL_SelectMouse(event.motion.which); /* select 'mouse' (touch) that moved */ state = SDL_GetMouseState(&x, &y); /* get its location */ SDL_GetRelativeMouseState(&dx, &dy); /* find how much the mouse moved */ if (state & SDL_BUTTON_LMASK) { /* is the mouse (touch) down? */