This commit is contained in:
Wojtek Figat
2023-10-02 12:49:02 +02:00
parent 17291a8a13
commit 41f005f95b

View File

@@ -1078,7 +1078,7 @@ GPUDevice* GPUDeviceVulkan::Create()
VkInstanceCreateInfo instInfo;
RenderToolsVulkan::ZeroStruct(instInfo, VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO);
#ifdef PLATFORM_APPLE_FAMILY
#if PLATFORM_APPLE_FAMILY
instInfo.flags |= VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR;
#endif
instInfo.pApplicationInfo = &appInfo;