diff options
author | 2024-11-05 13:32:14 +0100 | |
---|---|---|
committer | 2024-11-05 13:32:14 +0100 | |
commit | ebc4e17ba853616326bd3957e75c3e8053b96513 (patch) | |
tree | 60e05ccb6f4636e2b1c265444da260b9dafb146c /wgpu/src/quad/gradient.rs | |
parent | 50340b4b433abc7461400ce908ab644ab49aee74 (diff) | |
download | iced-ebc4e17ba853616326bd3957e75c3e8053b96513.tar.gz iced-ebc4e17ba853616326bd3957e75c3e8053b96513.tar.bz2 iced-ebc4e17ba853616326bd3957e75c3e8053b96513.zip |
Update `wgpu` to `23.0`
Diffstat (limited to 'wgpu/src/quad/gradient.rs')
-rw-r--r-- | wgpu/src/quad/gradient.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wgpu/src/quad/gradient.rs b/wgpu/src/quad/gradient.rs index 207b0d73..3d4ca4db 100644 --- a/wgpu/src/quad/gradient.rs +++ b/wgpu/src/quad/gradient.rs @@ -124,7 +124,7 @@ impl Pipeline { layout: Some(&layout), vertex: wgpu::VertexState { module: &shader, - entry_point: "gradient_vs_main", + entry_point: Some("gradient_vs_main"), buffers: &[wgpu::VertexBufferLayout { array_stride: std::mem::size_of::<Gradient>() as u64, @@ -157,7 +157,7 @@ impl Pipeline { }, fragment: Some(wgpu::FragmentState { module: &shader, - entry_point: "gradient_fs_main", + entry_point: Some("gradient_fs_main"), targets: &quad::color_target_state(format), compilation_options: wgpu::PipelineCompilationOptions::default(), |