Skip to content

Commit edbc199

Browse files
committed
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.
1 parent 9b8d3ef commit edbc199

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

video/out/opengl/hwdec_cuda.c

+2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ struct priv_owner {
5959
const struct ra_format *format, int n);
6060
void (*ext_uninit)(struct ra_hwdec_mapper *mapper, int n);
6161

62+
#if HAVE_VULKAN
6263
enum pl_handle_type handle_type;
64+
#endif
6365
};
6466

6567
struct ext_gl {

0 commit comments

Comments
 (0)