renderer_vulkan: Cast function return to void to avoid 'unused' warning

This matches the similar call under #else.

Ignoring failure is actually the right behavior here, because the caller
goes on to call DynamicLibrary::IsOpen.
This commit is contained in:
comex
2020-11-14 18:45:34 -05:00
parent ddea13570f
commit 9671bfb8e1

View File

@@ -79,7 +79,7 @@ Common::DynamicLibrary OpenVulkanLibrary() {
// 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);