mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-29 06:40:16 +00:00
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:
parent
36b869003a
commit
9112e38f4e
@ -1389,7 +1389,7 @@ bool dyn_libs::OpenSpirvCross(Error* error)
|
|||||||
if (!s_spirv_cross_library.GetSymbol(#F, &F)) \
|
if (!s_spirv_cross_library.GetSymbol(#F, &F)) \
|
||||||
{ \
|
{ \
|
||||||
Error::SetStringFmt(error, "Failed to find function {}", #F); \
|
Error::SetStringFmt(error, "Failed to find function {}", #F); \
|
||||||
CloseShaderc(); \
|
CloseSpirvCross(); \
|
||||||
return false; \
|
return false; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user