GPUDevice: Fix incorrect close call during symbol lookup

Not actually hit since all symbols should be present, but just in
case...
This commit is contained in:
Stenzek 2025-06-13 16:29:04 +10:00
parent 36b869003a
commit 9112e38f4e
No known key found for this signature in database

View File

@ -1389,7 +1389,7 @@ bool dyn_libs::OpenSpirvCross(Error* error)
if (!s_spirv_cross_library.GetSymbol(#F, &F)) \
{ \
Error::SetStringFmt(error, "Failed to find function {}", #F); \
CloseShaderc(); \
CloseSpirvCross(); \
return false; \
}