mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-08 11:58:27 +00:00
Update name of function parameter
This commit is contained in:
parent
ed81321bac
commit
ac4d954af3
@ -11,7 +11,7 @@ pub struct Pipeline<V> {
|
||||
impl<V> Pipeline<V> {
|
||||
pub fn new(
|
||||
device: &wgpu::Device,
|
||||
config: &wgpu::SurfaceConfiguration,
|
||||
surface_configuration: &wgpu::SurfaceConfiguration,
|
||||
shader_module_descriptor: wgpu::ShaderModuleDescriptor,
|
||||
uniforms: &wgpu::Buffer,
|
||||
) -> Self
|
||||
@ -64,7 +64,7 @@ impl<V> Pipeline<V> {
|
||||
compilation_options:
|
||||
wgpu::PipelineCompilationOptions::default(),
|
||||
targets: &[Some(wgpu::ColorTargetState {
|
||||
format: config.format,
|
||||
format: surface_configuration.format,
|
||||
blend: Some(wgpu::BlendState::REPLACE),
|
||||
write_mask: wgpu::ColorWrites::all(),
|
||||
})],
|
||||
|
Loading…
Reference in New Issue
Block a user