bevy/examples/shader
Gwen b11ee3ffb8 Remove duplicate call to set_vertex_buffer(0, ...) in shader_instancing example (#3738)
## Objective

The [`DrawMeshInstanced`] command in the example sets vertex buffer 0 twice, with two identical calls to:

```rs
pass.set_vertex_buffer(0, gpu_mesh.vertex_buffer.slice(..));
```

## Solution

Remove the second call as it is unecessary.

[`DrawMeshInstanced`]: f3de12bc5e/examples/shader/shader_instancing.rs (L217-L258)
2022-02-04 03:37:40 +00:00
..
animate_shader.rs add some more pipelined-rendering shader examples (#3041) 2022-01-05 19:43:11 +00:00
compute_shader_game_of_life.rs add some more pipelined-rendering shader examples (#3041) 2022-01-05 19:43:11 +00:00
shader_defs.rs Fix a typo in shader_defs example (#3762) 2022-01-24 23:44:08 +00:00
shader_instancing.rs Remove duplicate call to set_vertex_buffer(0, ...) in shader_instancing example (#3738) 2022-02-04 03:37:40 +00:00
shader_material.rs Improve shader_material example documentation (#3601) 2022-01-26 18:52:54 +00:00
shader_material_glsl.rs add some more pipelined-rendering shader examples (#3041) 2022-01-05 19:43:11 +00:00