Fix macOS instance loading - need to load through libvulkan.dylib, not libMoltenVK.dylib. Otherwise loading fails since the validation layers and debug report extensions can't be found (the loader is bypassed in this case, similar to directly linking against an IHV driver). Resolves #149
This commit is contained in:
parent
6fa7d193ed
commit
2efa1e4f74
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue