Skip to content

Commit

Permalink
Merge pull request #80 from Bobo1239/chrome-fixes
Browse files Browse the repository at this point in the history
Make wgpu_glyph work on Chrome
  • Loading branch information
hecrj authored Nov 16, 2021
2 parents 215f3be + 3a9ecba commit f9f9adb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ fn build<D>(
visibility: wgpu::ShaderStages::FRAGMENT,
ty: wgpu::BindingType::Texture {
sample_type: wgpu::TextureSampleType::Float {
filterable: false,
filterable: true,
},
view_dimension: wgpu::TextureViewDimension::D2,
multisampled: false,
Expand Down Expand Up @@ -308,6 +308,7 @@ fn build<D>(
primitive: wgpu::PrimitiveState {
topology: wgpu::PrimitiveTopology::TriangleStrip,
front_face: wgpu::FrontFace::Cw,
strip_index_format: Some(wgpu::IndexFormat::Uint16),
..Default::default()
},
depth_stencil,
Expand Down

0 comments on commit f9f9adb

Please sign in to comment.