GPUDevice: Fix incorrect close call during symbol lookup

Not actually hit since all symbols should be present, but just in
case...
pull/3444/head v0.1-9114
Stenzek 5 months ago
parent 36b869003a
commit 9112e38f4e
No known key found for this signature in database

@ -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; \
}

Loading…
Cancel
Save