diff --git a/experiments/2024-10-30/src/render/renderer.rs b/experiments/2024-10-30/src/render/renderer.rs index c0bc7e2b1..287e33c69 100644 --- a/experiments/2024-10-30/src/render/renderer.rs +++ b/experiments/2024-10-30/src/render/renderer.rs @@ -134,10 +134,10 @@ impl Renderer { self.pipelines.vertices.draw(&mut render_pass, &vertices); self.pipelines.triangles.draw(&mut render_pass, &triangles); self.text_renderer.render( + operations, &self.device, &self.queue, &self.surface_config, - 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 056112cd4..7816433f3 100644 --- a/experiments/2024-10-30/src/render/text.rs +++ b/experiments/2024-10-30/src/render/text.rs @@ -62,10 +62,10 @@ impl TextRenderer { pub fn render( &mut self, + _all_operations: &OpsLog, device: &wgpu::Device, queue: &wgpu::Queue, surface_config: &wgpu::SurfaceConfiguration, - _all_operations: &OpsLog, render_pass: &mut wgpu::RenderPass, ) -> anyhow::Result<()> { let mut buffer = glyphon::Buffer::new(