mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Fix SetSpriteTextureBindGroup to use index (#3896)
# Objective Fix `SetSpriteTextureBindGroup` to use index instead of hard coded 1. Fixes #3895 ## Solution 1 -> I Co-authored-by: devjobe <git@devjobe.com>
This commit is contained in:
parent
bdbf626341
commit
9a7852db0f
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ impl<const I: usize> EntityRenderCommand for SetSpriteTextureBindGroup<I> {
|
|||
let image_bind_groups = image_bind_groups.into_inner();
|
||||
|
||||
pass.set_bind_group(
|
||||
1,
|
||||
I,
|
||||
image_bind_groups
|
||||
.values
|
||||
.get(&Handle::weak(sprite_batch.image_handle_id))
|
||||
|
|
Loading…
Reference in a new issue