From 2d354399f8b5dfbdaa2f8aba54aa6e607500d6c0 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 25 Nov 2024 23:02:32 +0100 Subject: [PATCH] Remove redundant function parameter --- experiments/2024-10-30/src/render/renderer.rs | 1 - experiments/2024-10-30/src/render/text.rs | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/experiments/2024-10-30/src/render/renderer.rs b/experiments/2024-10-30/src/render/renderer.rs index 982a2564e..c0bc7e2b1 100644 --- a/experiments/2024-10-30/src/render/renderer.rs +++ b/experiments/2024-10-30/src/render/renderer.rs @@ -137,7 +137,6 @@ impl Renderer { &self.device, &self.queue, &self.surface_config, - selected_operation, operations, &mut render_pass, )?; diff --git a/experiments/2024-10-30/src/render/text.rs b/experiments/2024-10-30/src/render/text.rs index ea51cc777..056112cd4 100644 --- a/experiments/2024-10-30/src/render/text.rs +++ b/experiments/2024-10-30/src/render/text.rs @@ -1,4 +1,4 @@ -use crate::geometry::{Operation, OpsLog}; +use crate::geometry::OpsLog; pub struct TextRenderer { text_atlas: glyphon::TextAtlas, @@ -65,7 +65,6 @@ impl TextRenderer { device: &wgpu::Device, queue: &wgpu::Queue, surface_config: &wgpu::SurfaceConfiguration, - _selected_operation: &dyn Operation, _all_operations: &OpsLog, render_pass: &mut wgpu::RenderPass, ) -> anyhow::Result<()> {