Merge pull request #151 from gwihlidal/mac_fixes
Fix macOS instance loading - use libvulkan.dylib instead of libMoltenVK.dylib so that loader is not bypassed
This commit is contained in:
commit
058e4284f6
|
@ -33,7 +33,7 @@ const LIB_PATH: &'static str = "libvulkan.so.1";
|
|||
const LIB_PATH: &'static str = "libvulkan.so";
|
||||
|
||||
#[cfg(any(target_os = "macos", target_os = "ios"))]
|
||||
const LIB_PATH: &'static str = "libMoltenVK.dylib";
|
||||
const LIB_PATH: &'static str = "libvulkan.dylib";
|
||||
|
||||
lazy_static! {
|
||||
static ref VK_LIB: Result<DynamicLibrary, String> =
|
||||
|
|
Loading…
Reference in a new issue