Mercurial > sdl-ios-xcode
diff src/events/SDL_mouse.c @ 3176:8c12052ddc7b
make sure that mouse.z == 0 until it is used.
author | Bob Pendleton <bob@pendleton.com> |
---|---|
date | Tue, 09 Jun 2009 03:27:48 +0000 |
parents | 8f3fd508734b |
children | 9b34679fda8b |
line wrap: on
line diff
--- a/src/events/SDL_mouse.c Mon Jun 08 21:00:52 2009 +0000 +++ b/src/events/SDL_mouse.c Tue Jun 09 03:27:48 2009 +0000 @@ -464,6 +464,7 @@ event.motion.state = mouse->buttonstate; event.motion.x = mouse->x; event.motion.y = mouse->y; + event.motion.z = mouse->z; event.motion.pressure = mouse->pressure; event.motion.xrel = xrel; event.motion.yrel = yrel;