mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-24 01:25:39 +00:00
wayland: Remove some now-redundant casts
This commit is contained in:
parent
ee52ad08cd
commit
ab74b6a3c3
|
@ -641,7 +641,7 @@ static void
|
||||||
Wayland_init_xdg_output(SDL_VideoData *d)
|
Wayland_init_xdg_output(SDL_VideoData *d)
|
||||||
{
|
{
|
||||||
SDL_WaylandOutputData *node;
|
SDL_WaylandOutputData *node;
|
||||||
for (node = (SDL_WaylandOutputData*)d->output_list; node != NULL; node = (SDL_WaylandOutputData*)node->next) {
|
for (node = d->output_list; node != NULL; node = node->next) {
|
||||||
node->xdg_output = zxdg_output_manager_v1_get_xdg_output(node->videodata->xdg_output_manager, node->output);
|
node->xdg_output = zxdg_output_manager_v1_get_xdg_output(node->videodata->xdg_output_manager, node->output);
|
||||||
zxdg_output_v1_add_listener(node->xdg_output, &xdg_output_listener, node);
|
zxdg_output_v1_add_listener(node->xdg_output, &xdg_output_listener, node);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue