1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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.
This commit is contained in:
Lynne 2020-05-10 11:21:52 +01:00
parent 5727b1f13f
commit b69f5a72ce

View File

@ -187,7 +187,7 @@ typedef struct VulkanOptExtension {
} VulkanOptExtension; } VulkanOptExtension;
static const VulkanOptExtension optional_instance_exts[] = { static const VulkanOptExtension optional_instance_exts[] = {
/* For future use */ { VK_KHR_SURFACE_EXTENSION_NAME, EXT_OPTIONAL },
}; };
static const VulkanOptExtension optional_device_exts[] = { static const VulkanOptExtension optional_device_exts[] = {