Fix actual parameter for mouse y in translate coord

This commit is contained in:
Patrick Corrigan 2024-02-14 14:10:11 +00:00 committed by m4xw
parent e8956418a8
commit 066a0629ff

View File

@ -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;