diff --git a/CHANGELOG.md b/CHANGELOG.md index 28855c766f..5d50c447e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,12 @@ Bottom level categories: ## Unreleased +### Changes + +#### General + +* Implement `Default` for `CompositeAlphaMode` + ### Bug Fixes #### General diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index a7bd3d0d90..86cb02c71b 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -3824,6 +3824,12 @@ pub enum CompositeAlphaMode { Inherit = 4, } +impl Default for CompositeAlphaMode { + fn default() -> Self { + Self::Auto + } +} + bitflags::bitflags! { /// Different ways that you can use a texture. ///