1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-04 22:20:22 +00:00

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.
This commit is contained in:
Jan Ekström 2019-04-22 18:17:30 +03:00
parent 9b8d3eff78
commit edbc199914

View File

@ -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 {