diff --git a/Cargo.toml b/Cargo.toml index bb24723..57f4ba6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -wgpu = "22" +wgpu = "24" euclid = "0.22.7" fontdue = "0.9.0" rect_packer = "0.2.1" diff --git a/src/lib.rs b/src/lib.rs index 5e2dd2c..df1b4ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -227,13 +227,13 @@ impl Vger { layout: Some(&pipeline_layout), vertex: wgpu::VertexState { module: &shader, - entry_point: "vs_main", + entry_point: Some("vs_main"), compilation_options: wgpu::PipelineCompilationOptions::default(), buffers: &[], }, fragment: Some(wgpu::FragmentState { module: &shader, - entry_point: "fs_main", + entry_point: Some("fs_main"), compilation_options: wgpu::PipelineCompilationOptions::default(), targets: &[Some(wgpu::ColorTargetState { format: texture_format,