mirror of https://github.com/bjornbytes/lovr.git
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:
parent
ae4a75eecd
commit
58c5f0624e
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue