summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_common.c')
-rw-r--r--video/out/gl_common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c
index 7cc54980fa..63078a1e00 100644
--- a/video/out/gl_common.c
+++ b/video/out/gl_common.c
@@ -528,6 +528,7 @@ struct backend {
};
extern const struct mpgl_driver mpgl_driver_x11;
+extern const struct mpgl_driver mpgl_driver_x11egl;
static const struct backend backends[] = {
#if HAVE_RPI_GLES
@@ -548,7 +549,7 @@ static const struct backend backends[] = {
{.driver = &mpgl_driver_x11},
#endif
#if HAVE_EGL_X11
- {"x11egl", mpgl_set_backend_x11egl},
+ {.driver = &mpgl_driver_x11egl},
#endif
};