Clippy fixes
This commit is contained in:
parent
ebef7fe1c5
commit
2dc20ad12c
6 changed files with 9 additions and 13 deletions
|
@ -28,9 +28,6 @@ impl Vertex for InstanceRaw {
|
|||
use std::mem;
|
||||
wgpu::VertexBufferLayout {
|
||||
array_stride: mem::size_of::<InstanceRaw>() as wgpu::BufferAddress,
|
||||
// We need to switch from using a step mode of Vertex to Instance
|
||||
// This means that our shaders will only change to use the next
|
||||
// instance when the shader starts processing a new instance
|
||||
step_mode: wgpu::VertexStepMode::Instance,
|
||||
attributes: &[
|
||||
// model matrix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue