mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-03 07:30:02 +00:00
vulkan_library: Common::DynamicLibrary::Open is [[nodiscard]]
Ignore the return value on __APPLE__ systems as well
This commit is contained in:
parent
aace20afc7
commit
21199cb965
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ Common::DynamicLibrary OpenLibrary() {
|
||||||
// Use the libvulkan.dylib from the application bundle.
|
// Use the libvulkan.dylib from the application bundle.
|
||||||
const std::string filename =
|
const std::string filename =
|
||||||
Common::FS::GetBundleDirectory() + "/Contents/Frameworks/libvulkan.dylib";
|
Common::FS::GetBundleDirectory() + "/Contents/Frameworks/libvulkan.dylib";
|
||||||
library.Open(filename.c_str());
|
void(library.Open(filename.c_str()));
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
std::string filename = Common::DynamicLibrary::GetVersionedFilename("vulkan", 1);
|
std::string filename = Common::DynamicLibrary::GetVersionedFilename("vulkan", 1);
|
||||||
|
|
Loading…
Reference in a new issue