Remove redundant function parameter

This commit is contained in:
Hanno Braun 2024-11-25 23:02:32 +01:00
parent 81bb76cf85
commit 2d354399f8
2 changed files with 1 additions and 3 deletions

View File

@ -137,7 +137,6 @@ impl Renderer {
&self.device,
&self.queue,
&self.surface_config,
selected_operation,
operations,
&mut render_pass,
)?;

View File

@ -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<()> {