mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-16 01:42:48 +00:00
Merge pull request #5306 from MerryMage/ignore-library-Open
vulkan_library: Common::DynamicLibrary::Open is [[nodiscard]]
This commit is contained in:
commit
bcb702fa3e
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue