Fix macOS build

This commit is contained in:
baldurk
2018-10-24 18:42:04 +01:00
parent 4bec1b8d32
commit 7e41b7913a
+2 -1
View File
@@ -102,7 +102,8 @@ void *LoadVulkanLibrary()
}
// if not, we fall back to our embedded libvulkan and also force use of our embedded ICD.
std::string libpath = GetThisLibPath();
std::string libpath;
FileIO::GetLibraryFilename(libpath);
libpath = dirname(libpath) + "/../MoltenVK/";
RDCLOG("Couldn't load global libvulkan.1.dylib, falling back to bundled MoltenVK in %s",