Fix build

Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
crueter
2026-02-26 12:53:31 -05:00
parent 073ecd36af
commit 774ec0a942
3 changed files with 10 additions and 14 deletions
@@ -24,10 +24,7 @@ std::shared_ptr<Common::DynamicLibrary> OpenLibrary(
#ifdef __APPLE__
const auto libvulkan_filename =
Common::FS::GetBundleDirectory() / "Contents/Frameworks/libvulkan.1.dylib";
const auto libmoltenvk_filename =
Common::FS::GetBundleDirectory() / "Contents/Frameworks/libMoltenVK.dylib";
const char* library_paths[] = {std::getenv("LIBVULKAN_PATH"), libvulkan_filename.c_str(),
libmoltenvk_filename.c_str()};
const char* library_paths[] = {std::getenv("LIBVULKAN_PATH"), libvulkan_filename.c_str()};
// Check if a path to a specific Vulkan library has been specified.
for (const auto& library_path : library_paths) {
if (library_path && library->Open(library_path)) {