mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-22 16:16:12 +00:00
Sort function parameters by relevance
This commit is contained in:
parent
2d354399f8
commit
08d21b62e8
@ -134,10 +134,10 @@ impl Renderer {
|
|||||||
self.pipelines.vertices.draw(&mut render_pass, &vertices);
|
self.pipelines.vertices.draw(&mut render_pass, &vertices);
|
||||||
self.pipelines.triangles.draw(&mut render_pass, &triangles);
|
self.pipelines.triangles.draw(&mut render_pass, &triangles);
|
||||||
self.text_renderer.render(
|
self.text_renderer.render(
|
||||||
|
operations,
|
||||||
&self.device,
|
&self.device,
|
||||||
&self.queue,
|
&self.queue,
|
||||||
&self.surface_config,
|
&self.surface_config,
|
||||||
operations,
|
|
||||||
&mut render_pass,
|
&mut render_pass,
|
||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
|
@ -62,10 +62,10 @@ impl TextRenderer {
|
|||||||
|
|
||||||
pub fn render(
|
pub fn render(
|
||||||
&mut self,
|
&mut self,
|
||||||
|
_all_operations: &OpsLog,
|
||||||
device: &wgpu::Device,
|
device: &wgpu::Device,
|
||||||
queue: &wgpu::Queue,
|
queue: &wgpu::Queue,
|
||||||
surface_config: &wgpu::SurfaceConfiguration,
|
surface_config: &wgpu::SurfaceConfiguration,
|
||||||
_all_operations: &OpsLog,
|
|
||||||
render_pass: &mut wgpu::RenderPass,
|
render_pass: &mut wgpu::RenderPass,
|
||||||
) -> anyhow::Result<()> {
|
) -> anyhow::Result<()> {
|
||||||
let mut buffer = glyphon::Buffer::new(
|
let mut buffer = glyphon::Buffer::new(
|
||||||
|
Loading…
Reference in New Issue
Block a user