You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02: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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user