From a6d8e9b7ff0166ee6db69c41c0cfc319e03f4c80 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 30 Dec 2019 13:12:09 +0100 Subject: vo_gpu: move wayland below X11 in autoprobe order I'm sick of mpv being accused of not doing it right. You can't do it right on Wayland? Long live X11. Fixes: #7307 --- video/out/gpu/context.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/video/out/gpu/context.c b/video/out/gpu/context.c index 9561b534d8..77e8fa6265 100644 --- a/video/out/gpu/context.c +++ b/video/out/gpu/context.c @@ -78,15 +78,15 @@ static const struct ra_ctx_fns *contexts[] = { #if HAVE_GL_DXINTEROP &ra_ctx_dxgl, #endif -#if HAVE_GL_WAYLAND - &ra_ctx_wayland_egl, -#endif #if HAVE_EGL_X11 &ra_ctx_x11_egl, #endif #if HAVE_GL_X11 &ra_ctx_glx, #endif +#if HAVE_GL_WAYLAND + &ra_ctx_wayland_egl, +#endif #if HAVE_EGL_DRM &ra_ctx_drm_egl, #endif @@ -100,12 +100,12 @@ static const struct ra_ctx_fns *contexts[] = { #if HAVE_WIN32_DESKTOP &ra_ctx_vulkan_win, #endif -#if HAVE_WAYLAND - &ra_ctx_vulkan_wayland, -#endif #if HAVE_X11 &ra_ctx_vulkan_xlib, #endif +#if HAVE_WAYLAND + &ra_ctx_vulkan_wayland, +#endif #endif }; -- cgit v1.2.3