Update name of variable

This commit is contained in:
Hanno Braun 2025-01-13 20:05:29 +01:00
parent 72c035a842
commit dc92444bb3

View File

@ -46,7 +46,7 @@ impl Renderer {
.ok_or_else(|| anyhow!("Failed to get default surface config"))?; .ok_or_else(|| anyhow!("Failed to get default surface config"))?;
surface.configure(&device, &surface_config); surface.configure(&device, &surface_config);
let pipelines = Pipeline::new(&device, &surface_config); let pipeline = Pipeline::new(&device, &surface_config);
let depth_view = { let depth_view = {
let depth_texture = let depth_texture =
@ -81,7 +81,7 @@ impl Renderer {
device, device,
queue, queue,
surface_config, surface_config,
pipeline: pipelines, pipeline,
depth_view, depth_view,
text_renderer, text_renderer,
}) })