Sort function parameters by relevance

This commit is contained in:
Hanno Braun 2024-11-25 23:02:53 +01:00
parent 2d354399f8
commit 08d21b62e8
2 changed files with 2 additions and 2 deletions

View File

@ -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,
)?;
}

View File

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