diff --git a/wgpu-hal/src/gles/command.rs b/wgpu-hal/src/gles/command.rs index d0d71544fcc..0c5f9ea807b 100644 --- a/wgpu-hal/src/gles/command.rs +++ b/wgpu-hal/src/gles/command.rs @@ -957,6 +957,7 @@ impl crate::CommandEncoder 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