Skip to content

Commit

Permalink
fix clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Mar 16, 2023
1 parent 9f3f0f3 commit de7a16b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wgpu-hal/src/gles/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,7 @@ impl crate::CommandEncoder<super::Api> for super::CommandEncoder {
wgt::IndexFormat::Uint32 => (4, glow::UNSIGNED_INT),
};
let index_offset = self.state.index_offset + index_size * start_index as wgt::BufferAddress;
#[allow(clippy::pattern_type_mismatch)]
let any_per_instance_attributes_active = self
.state
.vertex_buffers
Expand Down

0 comments on commit de7a16b

Please sign in to comment.