queue_sprites comment fix (#17621)

# Objective

Fix this comment in `queue_sprites`:
```
// batch_range and dynamic_offset will be calculated in prepare_sprites.
```
`Transparent2d` no longer has a `dynamic_offset` field and the
`batch_range` is calculated in `prepare_sprite_image_bind_groups` now.
This commit is contained in:
ickshonpe 2025-02-02 14:49:12 +00:00 committed by GitHub
parent 74acb95ed3
commit afef7d5797
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -573,7 +573,7 @@ pub fn queue_sprites(
pipeline,
entity: (*entity, *main_entity),
sort_key,
// batch_range and dynamic_offset will be calculated in prepare_sprites
// `batch_range` is calculated in `prepare_sprite_image_bind_groups`
batch_range: 0..0,
extra_index: PhaseItemExtraIndex::None,
indexed: true,