From edbc1999145b5593098f09042947bf1b79323d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= Date: Mon, 22 Apr 2019 18:17:30 +0300 Subject: vo_gpu/hwdec_cuda: fixup compilation with vulkan disabled The actual code utilizing this enum was seemingly properly if'd, but not the enum in the struct itself. Fixes compilation. --- video/out/opengl/hwdec_cuda.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/video/out/opengl/hwdec_cuda.c b/video/out/opengl/hwdec_cuda.c index 5e8e07f362..b2abd62f39 100644 --- a/video/out/opengl/hwdec_cuda.c +++ b/video/out/opengl/hwdec_cuda.c @@ -59,7 +59,9 @@ struct priv_owner { const struct ra_format *format, int n); void (*ext_uninit)(struct ra_hwdec_mapper *mapper, int n); +#if HAVE_VULKAN enum pl_handle_type handle_type; +#endif }; struct ext_gl { -- cgit v1.2.3