mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
wayland: Remove unnecessary function call
This commit is contained in:
parent
fdd8b5d630
commit
6a0505c090
1 changed files with 0 additions and 1 deletions
|
|
@ -967,7 +967,6 @@ static SDL_MouseButtonFlags SDLCALL Wayland_GetGlobalMouseState(float *x, float
|
|||
SDL_WaylandSeat *seat;
|
||||
int off_x, off_y;
|
||||
SDL_RelativeToGlobalForWindow(mouse->focus, mouse->focus->x, mouse->focus->y, &off_x, &off_y);
|
||||
SDL_GetMouseState(x, y);
|
||||
*x = mouse->x + off_x;
|
||||
*y = mouse->y + off_y;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue