# Objective In `prepare_sprite_image_bind_groups` the `batch_image_changed` condition is checked twice but the second if-block seems unnecessary. # Solution Queue new `SpriteBatch`es inside the first if-block and remove the second if-block. |
||
|---|---|---|
| .. | ||
| mod.rs | ||
| sprite_view_bindings.wgsl | ||
| sprite.wgsl | ||