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:
parent
5727b1f13f
commit
b69f5a72ce
@ -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[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user