mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Fix X11 Vulkan bug from Wayland driver.
This commit is contained in:
parent
8f0c94a322
commit
e8de264b75
@ -545,7 +545,7 @@ static void gfx_ctx_wl_destroy_resources(gfx_ctx_wayland_data_t *wl)
|
|||||||
#ifdef HAVE_VULKAN
|
#ifdef HAVE_VULKAN
|
||||||
vulkan_context_destroy(&wl->vk, wl->surface);
|
vulkan_context_destroy(&wl->vk, wl->surface);
|
||||||
|
|
||||||
if (wl->input.fd >= 0)
|
if (wl->input.dpy != NULL && wl->input.fd >= 0)
|
||||||
close(wl->input.fd);
|
close(wl->input.fd);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user