diff options
| author | 2021-01-07 17:37:47 +0000 | |
|---|---|---|
| committer | 2021-01-07 17:37:47 +0000 | |
| commit | 21199cb9657096ee546413164110e79f33def6a8 (patch) | |
| tree | cae3ca4b42795840fb20e9ea9b24296cb9286ee3 /src | |
| parent | texture_cache: Replace PAGE_SHIFT with PAGE_BITS (diff) | |
| download | yuzu-21199cb9657096ee546413164110e79f33def6a8.tar.gz yuzu-21199cb9657096ee546413164110e79f33def6a8.tar.xz yuzu-21199cb9657096ee546413164110e79f33def6a8.zip | |
vulkan_library: Common::DynamicLibrary::Open is [[nodiscard]]
Ignore the return value on __APPLE__ systems as well
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_library.cpp | 2 |
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() { | |||
| 20 | // Use the libvulkan.dylib from the application bundle. | 20 | // Use the libvulkan.dylib from the application bundle. |
| 21 | const std::string filename = | 21 | const std::string filename = |
| 22 | Common::FS::GetBundleDirectory() + "/Contents/Frameworks/libvulkan.dylib"; | 22 | Common::FS::GetBundleDirectory() + "/Contents/Frameworks/libvulkan.dylib"; |
| 23 | library.Open(filename.c_str()); | 23 | void(library.Open(filename.c_str())); |
| 24 | } | 24 | } |
| 25 | #else | 25 | #else |
| 26 | std::string filename = Common::DynamicLibrary::GetVersionedFilename("vulkan", 1); | 26 | std::string filename = Common::DynamicLibrary::GetVersionedFilename("vulkan", 1); |