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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c
index 3973a533e9..3be714541e 100644
--- a/video/out/opengl/common.c
+++ b/video/out/opengl/common.c
@@ -503,10 +503,11 @@ extern const struct mpgl_driver mpgl_driver_x11egl;
extern const struct mpgl_driver mpgl_driver_cocoa;
extern const struct mpgl_driver mpgl_driver_wayland;
extern const struct mpgl_driver mpgl_driver_w32;
+extern const struct mpgl_driver mpgl_driver_rpi;
static const struct backend backends[] = {
#if HAVE_RPI
- {"rpi", mpgl_set_backend_rpi},
+ {.driver = &mpgl_driver_rpi},
#endif
#if HAVE_GL_COCOA
{.driver = &mpgl_driver_cocoa},