summaryrefslogtreecommitdiffstats
path: root/video/out/gl_hwdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_hwdec.c')
-rw-r--r--video/out/gl_hwdec.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/video/out/gl_hwdec.c b/video/out/gl_hwdec.c
index 17a7c7bb67..e5af2b70f4 100644
--- a/video/out/gl_hwdec.c
+++ b/video/out/gl_hwdec.c
@@ -42,15 +42,12 @@ static const struct gl_hwdec_driver *const mpgl_hwdec_drivers[] = {
#if HAVE_VDPAU_GL_X11
&gl_hwdec_vdpau,
#endif
-#if HAVE_VDA_GL
- &gl_hwdec_vda,
+#if HAVE_VIDEOTOOLBOX_VDA_GL
+ &gl_hwdec_videotoolbox,
#endif
#if HAVE_DXVA2_HWACCEL
&gl_hwdec_dxva2,
#endif
-#if HAVE_VIDEOTOOLBOX_GL
- &gl_hwdec_videotoolbox,
-#endif
NULL
};