From 10b98e00ac440eb0dceacbd26efb185a7491e273 Mon Sep 17 00:00:00 2001 From: Gatgat Date: Tue, 8 Oct 2024 14:24:01 +0200 Subject: [PATCH] WebGPU: release image bind groups on shutdown --- backends/imgui_impl_wgpu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/backends/imgui_impl_wgpu.cpp b/backends/imgui_impl_wgpu.cpp index 962398104..387b3852d 100644 --- a/backends/imgui_impl_wgpu.cpp +++ b/backends/imgui_impl_wgpu.cpp @@ -249,6 +249,7 @@ static void SafeRelease(RenderResources& res) SafeRelease(res.Sampler); SafeRelease(res.Uniforms); SafeRelease(res.CommonBindGroup); + SafeRelease(res.ImageBindGroups); SafeRelease(res.ImageBindGroupLayout); };