summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/hwdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/hwdec.c')
-rw-r--r--video/out/opengl/hwdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/hwdec.c b/video/out/opengl/hwdec.c
index 3349c06f15..300197ac00 100644
--- a/video/out/opengl/hwdec.c
+++ b/video/out/opengl/hwdec.c
@@ -44,10 +44,10 @@ static const struct gl_hwdec_driver *const mpgl_hwdec_drivers[] = {
#if HAVE_VIDEOTOOLBOX_GL
&gl_hwdec_videotoolbox,
#endif
-#if HAVE_DXVA2_DXINTEROP
+#if HAVE_DXVA2_HWACCEL
+#if HAVE_GL_DXINTEROP
&gl_hwdec_dxva2gldx,
#endif
-#if HAVE_DXVA2_HWACCEL
&gl_hwdec_dxva2,
#endif
NULL