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,