If the application is not linked against the Vulkan loader and relies on a third-party loader library or glfwGetInstanceProcAddress, then our call to dlopen will fail without a custom dyld environment variable. This adds a fallback of looking in the directory of the main executable, which matches the bundle structure recommended by the Vulkan SDK, making that finally work out of the box for fully dynamic loading.master
parent
15d91801b7
commit
7da87aaae7
4 changed files with 31 additions and 0 deletions
Loading…
Reference in New Issue