summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-04-16 02:35:12 +0200
committerwm4 <wm4@nowhere>2017-04-16 02:35:12 +0200
commitbba08e38ff9842c4edf9da6a1d54066a01acd982 (patch)
tree4c960793c06246fe551bffdf79675d308ba9cddb /video/out/opengl/context.c
parent1a0c340a5ed6d33c5c8f4e661a8d891637c3fdf7 (diff)
downloadmpv-bba08e38ff9842c4edf9da6a1d54066a01acd982.tar.bz2
mpv-bba08e38ff9842c4edf9da6a1d54066a01acd982.tar.xz
vo_opengl: move X11 backends before Wayland
Wayland is still too amateurish, and multiple features don't work, including critical ones. There is no solution in sight, so prefer X11. (Which seems to mostly work ok via xwayland.) Once all problems are solved, the defaults can be switched back.
Diffstat (limited to 'video/out/opengl/context.c')
-rw-r--r--video/out/opengl/context.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c
index 6fdc123fb6..117d7f830e 100644
--- a/video/out/opengl/context.c
+++ b/video/out/opengl/context.c
@@ -65,9 +65,6 @@ static const struct mpgl_driver *const backends[] = {
#if HAVE_GL_DXINTEROP
&mpgl_driver_dxinterop,
#endif
-#if HAVE_GL_WAYLAND
- &mpgl_driver_wayland,
-#endif
#if HAVE_GL_X11
&mpgl_driver_x11_probe,
#endif
@@ -77,6 +74,9 @@ static const struct mpgl_driver *const backends[] = {
#if HAVE_GL_X11
&mpgl_driver_x11,
#endif
+#if HAVE_GL_WAYLAND
+ &mpgl_driver_wayland,
+#endif
#if HAVE_EGL_DRM
&mpgl_driver_drm,
&mpgl_driver_drm_egl,