Commit b69f5a72 authored by Lynne's avatar Lynne

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.
parent 5727b1f1
...@@ -187,7 +187,7 @@ typedef struct VulkanOptExtension { ...@@ -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[] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment