diff --git a/wgpu/src/backend/web.rs b/wgpu/src/backend/web.rs index 31f644bc05d..97dc5896b84 100644 --- a/wgpu/src/backend/web.rs +++ b/wgpu/src/backend/web.rs @@ -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