From 6de118608eed8d9db334f066cbb152672d112716 Mon Sep 17 00:00:00 2001 From: Frederik Vestre Date: Wed, 9 Aug 2023 21:32:15 +0200 Subject: [PATCH] Fix clippy / spelling for web --- wgpu/src/backend/web.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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