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

video/out/gpu/spirv: fix warning: zero size arrays are an extension

This commit is contained in:
nanahi 2024-03-08 02:28:56 -05:00 committed by Kacper Michajłow
parent 18bd03d31a
commit 59f23f5c29

View File

@ -16,6 +16,7 @@ static const struct spirv_compiler_fns *compilers[] = {
#if HAVE_SHADERC #if HAVE_SHADERC
[SPIRV_SHADERC] = &spirv_shaderc, [SPIRV_SHADERC] = &spirv_shaderc,
#endif #endif
NULL
}; };
static const struct m_opt_choice_alternatives compiler_choices[] = { static const struct m_opt_choice_alternatives compiler_choices[] = {