Update name of function parameter

This commit is contained in:
Hanno Braun 2024-11-25 23:14:26 +01:00
parent ab7f435d06
commit 02d1d75668

View File

@ -62,7 +62,7 @@ impl TextRenderer {
pub fn render( pub fn render(
&mut self, &mut self,
_operations: &OpsLog, operations: &OpsLog,
device: &wgpu::Device, device: &wgpu::Device,
queue: &wgpu::Queue, queue: &wgpu::Queue,
surface_config: &wgpu::SurfaceConfiguration, surface_config: &wgpu::SurfaceConfiguration,
@ -70,7 +70,7 @@ impl TextRenderer {
) -> anyhow::Result<()> { ) -> anyhow::Result<()> {
let mut buffers = Vec::new(); let mut buffers = Vec::new();
for op in &_operations.operations { for op in &operations.operations {
let mut buffer = glyphon::Buffer::new( let mut buffer = glyphon::Buffer::new(
&mut self.font_system, &mut self.font_system,
glyphon::Metrics { glyphon::Metrics {