summaryrefslogtreecommitdiffstats
path: root/wgpu/src/image
diff options
context:
space:
mode:
authorLibravatar Héctor <hector@hecrj.dev>2024-11-05 13:47:14 +0100
committerLibravatar GitHub <noreply@github.com>2024-11-05 13:47:14 +0100
commit42a2cb6d4f78343f43d6a68a28e5502d9426ed2c (patch)
tree60e05ccb6f4636e2b1c265444da260b9dafb146c /wgpu/src/image
parent50340b4b433abc7461400ce908ab644ab49aee74 (diff)
parentebc4e17ba853616326bd3957e75c3e8053b96513 (diff)
downloadiced-42a2cb6d4f78343f43d6a68a28e5502d9426ed2c.tar.gz
iced-42a2cb6d4f78343f43d6a68a28e5502d9426ed2c.tar.bz2
iced-42a2cb6d4f78343f43d6a68a28e5502d9426ed2c.zip
Merge pull request #2663 from iced-rs/update-wgpu-to-23.0
Update `wgpu` to `23.0`
Diffstat (limited to 'wgpu/src/image')
-rw-r--r--wgpu/src/image/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/wgpu/src/image/mod.rs b/wgpu/src/image/mod.rs
index cf83c3f2..caac0813 100644
--- a/wgpu/src/image/mod.rs
+++ b/wgpu/src/image/mod.rs
@@ -128,7 +128,7 @@ impl Pipeline {
layout: Some(&layout),
vertex: wgpu::VertexState {
module: &shader,
- entry_point: "vs_main",
+ entry_point: Some("vs_main"),
buffers: &[wgpu::VertexBufferLayout {
array_stride: mem::size_of::<Instance>() as u64,
step_mode: wgpu::VertexStepMode::Instance,
@@ -158,7 +158,7 @@ impl Pipeline {
},
fragment: Some(wgpu::FragmentState {
module: &shader,
- entry_point: "fs_main",
+ entry_point: Some("fs_main"),
targets: &[Some(wgpu::ColorTargetState {
format,
blend: Some(wgpu::BlendState {