Mercurial > sdl-ios-xcode
changeset 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 | e6c113f1ea43 |
children | efe3b3971e4f |
files | src/events/SDL_mouse.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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;