Fix for vk portability extension;

- Always enable when supported.
- It's not required to be enabled, even if portability_enumeration is present.
This commit is contained in:
bjorn 2023-01-01 05:03:05 -08:00
parent ae4a75eecd
commit 58c5f0624e
1 changed files with 1 additions and 1 deletions

View File

@ -2104,7 +2104,7 @@ bool gpu_init(gpu_config* config) {
struct { const char* name; bool shouldEnable; bool* flag; } extensions[] = {
{ "VK_KHR_swapchain", state.surface, NULL },
{ "VK_KHR_portability_subset", state.supports.portability, NULL }
{ "VK_KHR_portability_subset", true, &state.supports.portability }
};
VkExtensionProperties extensionInfo[256];