summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/gpu/context.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/video/out/gpu/context.c b/video/out/gpu/context.c
index 77e8fa6265..9561b534d8 100644
--- a/video/out/gpu/context.c
+++ b/video/out/gpu/context.c
@@ -78,15 +78,15 @@ 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_EGL_X11
&ra_ctx_x11_egl,
#endif
#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
@@ -100,12 +100,12 @@ static const struct ra_ctx_fns *contexts[] = {
#if HAVE_WIN32_DESKTOP
&ra_ctx_vulkan_win,
#endif
-#if HAVE_X11
- &ra_ctx_vulkan_xlib,
-#endif
#if HAVE_WAYLAND
&ra_ctx_vulkan_wayland,
#endif
+#if HAVE_X11
+ &ra_ctx_vulkan_xlib,
+#endif
#endif
};