From 9112e38f4e52bdd465bedb1f74c9cebed04beb20 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Fri, 13 Jun 2025 16:29:04 +1000 Subject: [PATCH] GPUDevice: Fix incorrect close call during symbol lookup Not actually hit since all symbols should be present, but just in case... --- src/util/gpu_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/gpu_device.cpp b/src/util/gpu_device.cpp index a5dd5211c..85e9b81ec 100644 --- a/src/util/gpu_device.cpp +++ b/src/util/gpu_device.cpp @@ -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; \ }