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.
pull/338/head
Lynne 5 years ago
parent 5727b1f13f
commit b69f5a72ce
  1. 2
      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[] = {

Loading…
Cancel
Save