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:
parent
ac2c012358
commit
10b98e00ac
@ -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);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user