Skip to content

Commit 6a0505c

Browse files
committed
wayland: Remove unnecessary function call
1 parent fdd8b5d commit 6a0505c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/video/wayland/SDL_waylandmouse.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,6 @@ static SDL_MouseButtonFlags SDLCALL Wayland_GetGlobalMouseState(float *x, float
967967
SDL_WaylandSeat *seat;
968968
int off_x, off_y;
969969
SDL_RelativeToGlobalForWindow(mouse->focus, mouse->focus->x, mouse->focus->y, &off_x, &off_y);
970-
SDL_GetMouseState(x, y);
971970
*x = mouse->x + off_x;
972971
*y = mouse->y + off_y;
973972

0 commit comments

Comments
 (0)