long standing evil bug (luckily hardly has any effect since almost everything has 2 byte alignment; but if the motion/button structs are ever changed, this would have gone broke)
svn-id: r6870
This commit is contained in:
parent
2f5cc865fe
commit
c842edb5bd
1 changed files with 2 additions and 2 deletions
|
@ -660,8 +660,8 @@ bool OSystem_SDL_Common::poll_event(Event *event) {
|
|||
event->event_code = EVENT_WHEELDOWN;
|
||||
else
|
||||
break;
|
||||
km.x = event->mouse.x = ev.motion.x;
|
||||
km.y = event->mouse.y = ev.motion.y;
|
||||
km.x = event->mouse.x = ev.button.x;
|
||||
km.y = event->mouse.y = ev.button.y;
|
||||
event->mouse.x /= _scaleFactor;
|
||||
event->mouse.y /= _scaleFactor;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue