diff --git a/video/out/vo.c b/video/out/vo.c index c75edbd6e5..8318a2ec67 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -79,6 +79,9 @@ static const struct vo_driver *const video_out_drivers[] = #if HAVE_DIRECT3D &video_out_direct3d, #endif +#if HAVE_DMABUF_WAYLAND + &video_out_dmabuf_wayland, +#endif #if HAVE_WAYLAND && HAVE_MEMFD_CREATE &video_out_wlshm, #endif @@ -91,9 +94,6 @@ static const struct vo_driver *const video_out_drivers[] = #if HAVE_SDL2_VIDEO &video_out_sdl, #endif -#if HAVE_DMABUF_WAYLAND - &video_out_dmabuf_wayland, -#endif #if HAVE_VAAPI_X11 && HAVE_GPL &video_out_vaapi, #endif