We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
new_alpha_mode
1 parent fb67de9 commit 319a916Copy full SHA for 319a916
wgpu-core/src/device/mod.rs
@@ -5158,7 +5158,7 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
5158
.composite_alpha_modes
5159
.contains(&config.composite_alpha_mode)
5160
{
5161
- let new_alpha_mode = 'b: loop {
+ let new_alpha_mode = 'alpha: loop {
5162
// Automatic alpha mode checks.
5163
let fallbacks = match config.composite_alpha_mode {
5164
wgt::CompositeAlphaMode::Auto => &[
@@ -5175,7 +5175,7 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
5175
5176
for &fallback in fallbacks {
5177
if caps.composite_alpha_modes.contains(&fallback) {
5178
- break 'b fallback;
+ break 'alpha fallback;
5179
}
5180
5181
0 commit comments