Skip to content

Commit

Permalink
Fix memory leak on main
Browse files Browse the repository at this point in the history
  • Loading branch information
IceSentry committed Nov 8, 2024
1 parent 066e2be commit 5efb474
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ fn prepare_infinite_grids(
render_queue: Res<RenderQueue>,
) {
position_uniforms.uniforms.clear();
settings_uniforms.uniforms.clear();
for (entity, extracted) in grids.iter() {
let transform = extracted.transform;
let t = transform.compute_transform();
Expand Down

0 comments on commit 5efb474

Please sign in to comment.