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
This commit is contained in:
wm4 2019-12-30 13:12:09 +01:00
parent 5fcad696a9
commit a6d8e9b7ff
1 changed files with 6 additions and 6 deletions

View File

@ -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
};