mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 21:45:10 +00:00
avutil/vulkan_glslang: Fix build failure
compile_only isn't available until 13.1.0. Let default initialization set it to zero, so the code works with version before and after 13.1.0.
This commit is contained in:
parent
bd226fdd74
commit
7b0bd6c4a7
@ -192,7 +192,7 @@ static int glslc_shader_compile(FFVulkanContext *s, FFVkSPIRVCompiler *ctx,
|
||||
.optimize_size = 0,
|
||||
.disassemble = 0,
|
||||
.validate = 1,
|
||||
.compile_only = 0,
|
||||
/* .compile_only = 0, */
|
||||
};
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user