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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/out/opengl/hwdec.c b/video/out/opengl/hwdec.c
index 60a6ee82a9..346493671f 100644
--- a/video/out/opengl/hwdec.c
+++ b/video/out/opengl/hwdec.c
@@ -51,15 +51,15 @@ static const struct gl_hwdec_driver *const mpgl_hwdec_drivers[] = {
&gl_hwdec_videotoolbox,
#endif
#if HAVE_D3D_HWACCEL
-#if HAVE_EGL_ANGLE
&gl_hwdec_d3d11egl,
&gl_hwdec_d3d11eglrgb,
+ #if HAVE_D3D9_HWACCEL
&gl_hwdec_dxva2egl,
+ #endif
#endif
-#if HAVE_GL_DXINTEROP
+#if HAVE_GL_DXINTEROP_D3D9
&gl_hwdec_dxva2gldx,
#endif
-#endif
#if HAVE_CUDA_HWACCEL
&gl_hwdec_cuda,
#endif