Skip to content

Commit

Permalink
Fix mandlebrot
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Nov 29, 2024
1 parent 8fcd01d commit b023d4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/mandlebrot/mandlebrot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl CustomPipeBuilder for PipeBuilder {
layout: Some(&pipeline_layout),
vertex: wgpu::VertexState {
module: &shaders.vertex,
entry_point: "main",
entry_point: Some("main"),
compilation_options: Default::default(),
buffers: &[wgpu::VertexBufferLayout {
array_stride: size_of::<Vertex>() as wgpu::BufferAddress,
Expand All @@ -154,7 +154,7 @@ impl CustomPipeBuilder for PipeBuilder {
multisample: Default::default(),
fragment: Some(wgpu::FragmentState {
module: &shaders.fragment,
entry_point: "main",
entry_point: Some("main"),
compilation_options: Default::default(),
targets: &[Some(wgpu::ColorTargetState {
format: tex_format,
Expand Down

0 comments on commit b023d4d

Please sign in to comment.