mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
wayland: Let wl_display_disconnect close fd (#16407)
This commit is contained in:
parent
a6beba6376
commit
9749940c67
@ -256,9 +256,6 @@ void gfx_ctx_wl_get_video_size_common(void *data,
|
||||
|
||||
void gfx_ctx_wl_destroy_resources_common(gfx_ctx_wayland_data_t *wl)
|
||||
{
|
||||
if (wl->input.dpy != NULL && wl->input.fd >= 0)
|
||||
close(wl->input.fd);
|
||||
|
||||
#ifdef HAVE_XKBCOMMON
|
||||
free_xkb();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user