1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-23 23:31:08 +01:00

WebGPU: release image bind groups on shutdown

This commit is contained in:
Gatgat 2024-10-08 14:24:01 +02:00
parent ac2c012358
commit 10b98e00ac

View File

@ -249,6 +249,7 @@ static void SafeRelease(RenderResources& res)
SafeRelease(res.Sampler);
SafeRelease(res.Uniforms);
SafeRelease(res.CommonBindGroup);
SafeRelease<WGPUBindGroup>(res.ImageBindGroups);
SafeRelease(res.ImageBindGroupLayout);
};