summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/context.c')
-rw-r--r--video/out/opengl/context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/opengl/context.c b/video/out/opengl/context.c
index 63fed40de2..4985c8a326 100644
--- a/video/out/opengl/context.c
+++ b/video/out/opengl/context.c
@@ -47,6 +47,7 @@ extern const struct mpgl_driver mpgl_driver_angle_es2;
extern const struct mpgl_driver mpgl_driver_dxinterop;
extern const struct mpgl_driver mpgl_driver_rpi;
extern const struct mpgl_driver mpgl_driver_mali;
+extern const struct mpgl_driver mpgl_driver_vdpauglx;
static const struct mpgl_driver *const backends[] = {
#if HAVE_RPI
@@ -83,6 +84,9 @@ static const struct mpgl_driver *const backends[] = {
#if HAVE_MALI_FBDEV
&mpgl_driver_mali,
#endif
+#if HAVE_VDPAU_GL_X11
+ &mpgl_driver_vdpauglx,
+#endif
};
// 0-terminated list of desktop GL versions a backend should try to