Skip to content

Commit

Permalink
Fix clippy / spelling for web
Browse files Browse the repository at this point in the history
  • Loading branch information
freqmod committed Aug 9, 2023
1 parent a7c97d4 commit 6de1186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu/src/backend/web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ fn map_blend_factor(factor: wgt::BlendFactor) -> web_sys::GpuBlendFactor {
BlendFactor::DstAlpha => bf::DstAlpha,
BlendFactor::OneMinusDstAlpha => bf::OneMinusDstAlpha,
BlendFactor::SrcAlphaSaturated => bf::SrcAlphaSaturated,
BlendFactor::Constant => bf::Ceonstant,
BlendFactor::Constant => bf::Constant,
BlendFactor::OneMinusConstant => bf::OneMinusConstant,
// Extended blend types are converted to their normal counterparts on web where they are not supported.
// TODO: Consider panicking here
Expand Down

0 comments on commit 6de1186

Please sign in to comment.