Fix challenge code for tutorial 3 crashing

Only one of the pipelines were actually adjusted, so let's fix that.
pull/264/head
Newbyte 3 years ago committed by GitHub
parent b0d9ac3245
commit c189f75913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -118,12 +118,12 @@ impl State {
layout: Some(&render_pipeline_layout),
vertex: wgpu::VertexState {
module: &shader,
entry_point: "main",
entry_point: "vs_main",
buffers: &[],
},
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "main",
entry_point: "fs_main",
targets: &[wgpu::ColorTargetState {
format: config.format,
blend: Some(wgpu::BlendState::REPLACE),

Loading…
Cancel
Save