summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/common.c')
-rw-r--r--video/out/opengl/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c
index 8eafc09d25..43d9375155 100644
--- a/video/out/opengl/common.c
+++ b/video/out/opengl/common.c
@@ -533,12 +533,12 @@ static const struct backend backends[] = {
#if HAVE_GL_WAYLAND
{"wayland", mpgl_set_backend_wayland},
#endif
-#if HAVE_GL_X11
- {.driver = &mpgl_driver_x11},
-#endif
#if HAVE_EGL_X11
{.driver = &mpgl_driver_x11egl},
#endif
+#if HAVE_GL_X11
+ {.driver = &mpgl_driver_x11},
+#endif
};
int mpgl_find_backend(const char *name)