From: Jakub Jirutka Date: Thu, 10 Feb 2022 20:16:00 +0100 Subject: [PATCH] Link vulkan-loader at runtime This depends on cargo.patch - enabling ash's feature 'loaded'. --- a/src/frame/vulkan.rs +++ b/src/frame/vulkan.rs @@ -44,7 +44,7 @@ vk::KhrGetPhysicalDeviceProperties2Fn::name().as_ptr(), ]; - let entry = Entry::linked(); + let entry = unsafe { Entry::load()? }; let create_info = vk::InstanceCreateInfo::builder() .application_info(&app_info)