diff options
author | arbee <rb6502@users.noreply.github.com> | 2015-02-02 21:55:20 -0500 |
---|---|---|
committer | arbee <rb6502@users.noreply.github.com> | 2015-02-02 21:55:20 -0500 |
commit | 2e8389c9786c3df2b34d2509cf60e88bf7596c32 (patch) | |
tree | 0e3069bf5aed2374a3663be7ed2e7e4d0273270a | |
parent | c9829f91b7488f4e7bd71b4d2dabcca9cc8e8c24 (diff) |
Fix SDL build breakage (nw)
-rw-r--r-- | src/osd/sdl/input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/sdl/input.c b/src/osd/sdl/input.c index 48a30c5d874..b2fa6b1da1b 100644 --- a/src/osd/sdl/input.c +++ b/src/osd/sdl/input.c @@ -1862,7 +1862,7 @@ void sdlinput_poll(running_machine &machine) int cx, cy; osd_ticks_t click = osd_ticks() * 1000 / osd_ticks_per_second(); sdl_window_info *window = GET_FOCUS_WINDOW(&event.button); - if (window != NULL && window->xy_to_render_target(event.button.x,event.button.y, &cx, &cy) ) + if (window != NULL && window->renderer().xy_to_render_target(event.button.x,event.button.y, &cx, &cy) ) { ui_input_push_mouse_down_event(machine, window->m_target, cx, cy); // FIXME Parameter ? @@ -1896,7 +1896,7 @@ void sdlinput_poll(running_machine &machine) int cx, cy; sdl_window_info *window = GET_FOCUS_WINDOW(&event.button); - if (window != NULL && window->xy_to_render_target(event.button.x,event.button.y, &cx, &cy) ) + if (window != NULL && window->renderer().xy_to_render_target(event.button.x,event.button.y, &cx, &cy) ) { ui_input_push_mouse_up_event(machine, window->m_target, cx, cy); } @@ -1921,7 +1921,7 @@ void sdlinput_poll(running_machine &machine) int cx=-1, cy=-1; sdl_window_info *window = GET_FOCUS_WINDOW(&event.motion); - if (window != NULL && window->xy_to_render_target(event.motion.x, event.motion.y, &cx, &cy) ) + if (window != NULL && window->renderer().xy_to_render_target(event.motion.x, event.motion.y, &cx, &cy) ) ui_input_push_mouse_move_event(machine, window->m_target, cx, cy); } break; |