summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,