summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2021-01-07 17:37:47 +0000
committerMerryMage <MerryMage@users.noreply.github.com>2021-01-07 17:37:47 +0000
commit21199cb9657096ee546413164110e79f33def6a8 (patch)
treecae3ca4b42795840fb20e9ea9b24296cb9286ee3
parentaace20afc73d4d51ec91cdb2e71eb76a425df9a0 (diff)
vulkan_library: Common::DynamicLibrary::Open is [[nodiscard]]
Ignore the return value on __APPLE__ systems as well
-rw-r--r--src/video_core/vulkan_common/vulkan_library.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_library.cpp b/src/video_core/vulkan_common/vulkan_library.cpp
index 27c958221..557871d81 100644
--- a/src/video_core/vulkan_common/vulkan_library.cpp
+++ b/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);