diff options
author | Lynne <dev@lynne.ee> | 2020-05-10 11:21:52 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2020-05-10 11:23:10 +0100 |
commit | b69f5a72cec0f604b8160c5d18a56036522635b8 (patch) | |
tree | fd49f18e206c8e27fbe5d529b8fd3f02b69213a0 /libavutil/hwcontext_vulkan.c | |
parent | 5727b1f13f36c4db30d5d0de51640f740edf01e8 (diff) |
hwcontext_vulkan: optionally enable the VK_KHR_surface extension if available
This allows any phys_device derived to be used as a display rendering device.
Diffstat (limited to 'libavutil/hwcontext_vulkan.c')
-rw-r--r-- | libavutil/hwcontext_vulkan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index fa53d9d121..43e7cddbc5 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -187,7 +187,7 @@ typedef struct VulkanOptExtension { } VulkanOptExtension; static const VulkanOptExtension optional_instance_exts[] = { - /* For future use */ + { VK_KHR_SURFACE_EXTENSION_NAME, EXT_OPTIONAL }, }; static const VulkanOptExtension optional_device_exts[] = { |