Remove this code for Vulkan over X too

This commit is contained in:
twinaphex 2021-06-22 18:26:32 +02:00
parent b5be2006f2
commit 97ad8cbfd2

View File

@ -111,12 +111,6 @@ static void gfx_ctx_x_vk_destroy_resources(gfx_ctx_x_vk_data_t *x)
x11_exit_fullscreen(g_x11_dpy);
x->should_reset_mode = false;
}
if (!video_driver_is_video_cache_context())
{
XCloseDisplay(g_x11_dpy);
g_x11_dpy = NULL;
}
}
}