mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-26 08:31:39 +00:00
wayland: Use the correct parameter type in the capabilities callback
The capabilities parameter is a uint32_t in the function signature in the header, not an enum.
Fixes a clang-tidy warning.
(cherry picked from commit 2afc369e8a)
This commit is contained in:
@@ -2472,7 +2472,7 @@ static void Wayland_SeatDestroyTouch(SDL_WaylandSeat *seat)
|
||||
WAYLAND_wl_list_init(&seat->touch.points);
|
||||
}
|
||||
|
||||
static void seat_handle_capabilities(void *data, struct wl_seat *wl_seat, enum wl_seat_capability capabilities)
|
||||
static void seat_handle_capabilities(void *data, struct wl_seat *wl_seat, uint32_t capabilities)
|
||||
{
|
||||
SDL_WaylandSeat *seat = (SDL_WaylandSeat *)data;
|
||||
char name_fmt[256];
|
||||
|
||||
Reference in New Issue
Block a user