Update name of function parameter

This commit is contained in:
Hanno Braun 2024-11-21 18:48:50 +01:00
parent 357210937c
commit ea5ef5101d

View File

@ -63,7 +63,7 @@ impl Pipeline {
pub fn draw(
&self,
encoder: &mut wgpu::CommandEncoder,
frame_view: &wgpu::TextureView,
color_view: &wgpu::TextureView,
depth_view: &wgpu::TextureView,
geometry: &Geometry,
) {
@ -71,7 +71,7 @@ impl Pipeline {
encoder.begin_render_pass(&wgpu::RenderPassDescriptor {
label: None,
color_attachments: &[Some(wgpu::RenderPassColorAttachment {
view: frame_view,
view: color_view,
resolve_target: None,
ops: wgpu::Operations {
load: wgpu::LoadOp::Clear(wgpu::Color::WHITE),