mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
gpu: prefer wayland context on autodetect
This commit is contained in:
@@ -80,6 +80,9 @@ 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_GL_X11
|
||||
&ra_ctx_glx_probe,
|
||||
#endif
|
||||
@@ -89,9 +92,6 @@ static const struct ra_ctx_fns *contexts[] = {
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user