diff options
author | dudemanguy <random342@airmail.cc> | 2018-11-09 10:06:09 -0600 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-11-19 00:26:39 +0200 |
commit | 8b6064de76ce5472a7d00b3eb7c4e38d01754330 (patch) | |
tree | dd6ad1226592670860551b98af8eb258980e1d7e /video/out/gpu | |
parent | b8bb5329a578a0335d3470293108c98792633831 (diff) | |
download | mpv-8b6064de76ce5472a7d00b3eb7c4e38d01754330.tar.bz2 mpv-8b6064de76ce5472a7d00b3eb7c4e38d01754330.tar.xz |
gpu: prefer wayland context on autodetect
Diffstat (limited to 'video/out/gpu')
-rw-r--r-- | video/out/gpu/context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/gpu/context.c b/video/out/gpu/context.c index 7964e12623..85f1aa7667 100644 --- a/video/out/gpu/context.c +++ b/video/out/gpu/context.c @@ -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 |