From 02d1d756683b315031879a377d82672a730f3f5b Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Mon, 25 Nov 2024 23:14:26 +0100 Subject: [PATCH] Update name of function parameter --- experiments/2024-10-30/src/render/text.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/experiments/2024-10-30/src/render/text.rs b/experiments/2024-10-30/src/render/text.rs index 82eeadfe7..269b8cbfb 100644 --- a/experiments/2024-10-30/src/render/text.rs +++ b/experiments/2024-10-30/src/render/text.rs @@ -62,7 +62,7 @@ impl TextRenderer { pub fn render( &mut self, - _operations: &OpsLog, + operations: &OpsLog, device: &wgpu::Device, queue: &wgpu::Queue, surface_config: &wgpu::SurfaceConfiguration, @@ -70,7 +70,7 @@ impl TextRenderer { ) -> anyhow::Result<()> { let mut buffers = Vec::new(); - for op in &_operations.operations { + for op in &operations.operations { let mut buffer = glyphon::Buffer::new( &mut self.font_system, glyphon::Metrics {