You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
hwcontext_vulkan: add VK_EXT_layer_settings to optional instance extensions
The issue is that some compilers complain if a struct or array is empty. This extension does nothing by default, and can be useful, so just add it to keep the array non-empty.
This commit is contained in:
@ -582,6 +582,7 @@ typedef struct VulkanOptExtension {
|
||||
} VulkanOptExtension;
|
||||
|
||||
static const VulkanOptExtension optional_instance_exts[] = {
|
||||
{ VK_EXT_LAYER_SETTINGS_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
|
||||
#ifdef __APPLE__
|
||||
{ VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME, FF_VK_EXT_NO_FLAG },
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user