diff options
author | wm4 <wm4@nowhere> | 2019-12-30 13:12:09 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-12-30 13:12:33 +0100 |
commit | a6d8e9b7ff0166ee6db69c41c0cfc319e03f4c80 (patch) | |
tree | b45e03902547abe45ba3c6d41f0fe740d7c2f25d | |
parent | 5fcad696a92ac3548b13d4373e2910f8740ac4fd (diff) | |
download | mpv-a6d8e9b7ff0166ee6db69c41c0cfc319e03f4c80.tar.bz2 mpv-a6d8e9b7ff0166ee6db69c41c0cfc319e03f4c80.tar.xz |
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
-rw-r--r-- | video/out/gpu/context.c | 12 |
1 files 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 }; |