mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Merge pull request #6414 from bearoso/master
Fix X11 Vulkan bug from Wayland driver.
This commit is contained in:
commit
3e3b24bbaf
@ -545,7 +545,7 @@ static void gfx_ctx_wl_destroy_resources(gfx_ctx_wayland_data_t *wl)
|
||||
#ifdef HAVE_VULKAN
|
||||
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);
|
||||
#endif
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user