2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

vulkan_library: Common::DynamicLibrary::Open is [[nodiscard]]

Ignore the return value on __APPLE__ systems as well
This commit is contained in:
MerryMage 2021-01-07 17:37:47 +00:00
parent aace20afc7
commit 21199cb965

View file

@ -20,7 +20,7 @@ Common::DynamicLibrary OpenLibrary() {
// Use the libvulkan.dylib from the application bundle.
const std::string filename =
Common::FS::GetBundleDirectory() + "/Contents/Frameworks/libvulkan.dylib";
library.Open(filename.c_str());
void(library.Open(filename.c_str()));
}
#else
std::string filename = Common::DynamicLibrary::GetVersionedFilename("vulkan", 1);