diff options
Diffstat (limited to 'video/out/opengl/hwdec.c')
-rw-r--r-- | video/out/opengl/hwdec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/video/out/opengl/hwdec.c b/video/out/opengl/hwdec.c index 8c8286119d..b6c2ba1070 100644 --- a/video/out/opengl/hwdec.c +++ b/video/out/opengl/hwdec.c @@ -33,6 +33,7 @@ extern const struct gl_hwdec_driver gl_hwdec_d3d11egl; extern const struct gl_hwdec_driver gl_hwdec_d3d11eglrgb; extern const struct gl_hwdec_driver gl_hwdec_dxva2gldx; extern const struct gl_hwdec_driver gl_hwdec_dxva2; +extern const struct gl_hwdec_driver gl_hwdec_cuda; static const struct gl_hwdec_driver *const mpgl_hwdec_drivers[] = { #if HAVE_VAAPI_EGL @@ -58,6 +59,9 @@ static const struct gl_hwdec_driver *const mpgl_hwdec_drivers[] = { #endif &gl_hwdec_dxva2, #endif +#if HAVE_CUDA_GL + &gl_hwdec_cuda, +#endif NULL }; |