From 855b4e83b950766e79759215466cbd88d793fe27 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Thu, 16 Mar 2023 18:51:09 +0100 Subject: [PATCH] fix clippy issue --- wgpu-hal/src/gles/command.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/wgpu-hal/src/gles/command.rs b/wgpu-hal/src/gles/command.rs index 0949a9e451..076b070711 100644 --- a/wgpu-hal/src/gles/command.rs +++ b/wgpu-hal/src/gles/command.rs @@ -962,6 +962,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