GS/Vulkan: Simplify loader using DynamicLibrary

Backport of https://github.com/stenzek/duckstation/commit/8e3284d8c6b28c4a73752da005e3881e6b270d10
This commit is contained in:
Stenzek
2024-05-17 11:57:38 +10:00
committed by Connor McLaughlin
parent 6545c62d26
commit 0628e8cc87
8 changed files with 85 additions and 126 deletions
+6
View File
@@ -30,6 +30,12 @@ void Error::Clear()
m_description = {};
}
void Error::Clear(Error* errptr)
{
if (errptr)
errptr->Clear();
}
void Error::SetErrno(int err)
{
SetErrno(std::string_view(), err);