From 2b0578f722020152f02f9bac4c0a2c1f97372c37 Mon Sep 17 00:00:00 2001 From: Tim Harding Date: Thu, 21 Mar 2024 17:08:12 -0700 Subject: [PATCH] Clippy 1.77 fixes --- src/rendering/pipelines/mod.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/rendering/pipelines/mod.rs b/src/rendering/pipelines/mod.rs index d27ce42..ac60749 100644 --- a/src/rendering/pipelines/mod.rs +++ b/src/rendering/pipelines/mod.rs @@ -31,29 +31,29 @@ impl Pipelines { targets: &Targets, ) -> Self { Pipelines { - cursor: cursor::Pipeline::new(&device, &targets.monochrome.view), - cmdline_cursor: cursor::Pipeline::new(&device, &targets.monochrome.view), - blend: blend::Pipeline::new(&device, &targets.color.view), - default_fill: default_fill::Pipeline::new(&device, Texture::LINEAR_FORMAT), + cursor: cursor::Pipeline::new(device, &targets.monochrome.view), + cmdline_cursor: cursor::Pipeline::new(device, &targets.monochrome.view), + blend: blend::Pipeline::new(device, &targets.color.view), + default_fill: default_fill::Pipeline::new(device, Texture::LINEAR_FORMAT), cell_fill: cell_fill::Pipeline::new( - &device, + device, text_bind_group_layout, Texture::LINEAR_FORMAT, ), monochrome: text::Pipeline::new( - &device, + device, text_bind_group_layout, text::Kind::Monochrome, ), - emoji: text::Pipeline::new(&device, text_bind_group_layout, text::Kind::Emoji), - lines: lines::Pipeline::new(&device, text_bind_group_layout, Texture::LINEAR_FORMAT), + emoji: text::Pipeline::new(device, text_bind_group_layout, text::Kind::Emoji), + lines: lines::Pipeline::new(device, text_bind_group_layout, Texture::LINEAR_FORMAT), gamma_blit_final: gamma_blit::Pipeline::new( - &device, + device, surface_config.format, &targets.color.view, ), blit_png: png_blit::Pipeline::new( - &device, + device, &targets.color.view, surface_config.width as f32 / targets.png_size.0.x as f32, ),