Browse Source
Merge pull request #5306 from MerryMage/ignore-library-Open
vulkan_library: Common::DynamicLibrary::Open is [[nodiscard]]
pull/15/merge
Morph
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/video_core/vulkan_common/vulkan_library.cpp
|
|
|
@ -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); |
|
|
|
|