Skip to content

Commit

Permalink
Fix actual parameter for mouse y in translate coord
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickcorrigan authored and m4xw committed Feb 14, 2024
1 parent e895641 commit 066a062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input/drivers/rwebinput_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ static int16_t rwebinput_input_state(
vp.full_height = 0;

if (!(video_driver_translate_coord_viewport_wrap(
&vp, mouse->x, mouse->x,
&vp, mouse->x, mouse->y,
&res_x, &res_y, &res_screen_x, &res_screen_y)))
return 0;

Expand Down

0 comments on commit 066a062

Please sign in to comment.