summaryrefslogtreecommitdiffstats
path: root/video/out/gpu
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2019-12-30 14:55:48 -0600
committerDudemanguy <random342@airmail.cc>2020-01-01 20:27:54 +0000
commit7d08491cd993f287c549712e36e6fe3dc021ba30 (patch)
tree263453af5708e7d0fc087012de29108c53d7a0c6 /video/out/gpu
parent934f8e102682901d77e0990aa594f46d745e0396 (diff)
downloadmpv-7d08491cd993f287c549712e36e6fe3dc021ba30.tar.bz2
mpv-7d08491cd993f287c549712e36e6fe3dc021ba30.tar.xz
Revert "vo_gpu: move wayland below X11 in autoprobe order"
This reverts commit a6d8e9b7ff0166ee6db69c41c0cfc319e03f4c80.
Diffstat (limited to 'video/out/gpu')
-rw-r--r--video/out/gpu/context.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/video/out/gpu/context.c b/video/out/gpu/context.c
index 77e8fa6265..9561b534d8 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_X11
- &ra_ctx_vulkan_xlib,
-#endif
#if HAVE_WAYLAND
&ra_ctx_vulkan_wayland,
#endif
+#if HAVE_X11
+ &ra_ctx_vulkan_xlib,
+#endif
#endif
};