From 8b6064de76ce5472a7d00b3eb7c4e38d01754330 Mon Sep 17 00:00:00 2001 From: dudemanguy Date: Fri, 9 Nov 2018 10:06:09 -0600 Subject: gpu: prefer wayland context on autodetect --- video/out/gpu/context.c | 6 +++--- 1 file 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 -- cgit v1.2.3