Take a slice in iced_wgpu::triangle pipeline

This commit is contained in:
Héctor Ramón Jiménez 2020-03-07 23:47:55 +01:00
parent b74e7e7353
commit 38d967c414

View file

@ -194,7 +194,7 @@ impl Pipeline {
target_width: u32, target_width: u32,
target_height: u32, target_height: u32,
transformation: Transformation, transformation: Transformation,
meshes: &Vec<(Point, &Mesh2D)>, meshes: &[(Point, &Mesh2D)],
bounds: Rectangle<u32>, bounds: Rectangle<u32>,
) { ) {
// This looks a bit crazy, but we are just counting how many vertices // This looks a bit crazy, but we are just counting how many vertices