mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
Implement Default for CompositeAlphaMode (#3074)
This commit is contained in:
parent
58f92cc6b4
commit
1e63e8ca9b
@ -40,6 +40,12 @@ Bottom level categories:
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Changes
|
||||
|
||||
#### General
|
||||
|
||||
* Implement `Default` for `CompositeAlphaMode`
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
#### General
|
||||
|
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user