From 58c5f0624e31d8d42c8aaed24f2cd6674a925baa Mon Sep 17 00:00:00 2001 From: bjorn Date: Sun, 1 Jan 2023 05:03:05 -0800 Subject: [PATCH] Fix for vk portability extension; - Always enable when supported. - It's not required to be enabled, even if portability_enumeration is present. --- src/core/gpu_vk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gpu_vk.c b/src/core/gpu_vk.c index f9e43051..e9494b7c 100644 --- a/src/core/gpu_vk.c +++ b/src/core/gpu_vk.c @@ -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];