gpu: prefer wayland context on autodetect

This commit is contained in:
dudemanguy
2018-11-09 10:06:09 -06:00
committed by Jan Ekström
parent b8bb5329a5
commit 8b6064de76

View File

@@ -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