Implement Default for CompositeAlphaMode (#3074)

This commit is contained in:
terrarier2111 2022-10-06 22:07:12 +02:00 committed by GitHub
parent 58f92cc6b4
commit 1e63e8ca9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -40,6 +40,12 @@ Bottom level categories:
## Unreleased
### Changes
#### General
* Implement `Default` for `CompositeAlphaMode`
### Bug Fixes
#### General

View File

@ -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.
///