Skip to content

Commit f13ea67

Browse files
committed
ShadowFlags::ALL should cover all possible flags
1 parent ec833e3 commit f13ea67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

skia-safe/src/utils/shadow_utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ bitflags! {
1313
#[allow(clippy::unnecessary_cast)]
1414
const CONCAVE_BLUR_ONLY = sb::SkShadowFlags_kConcaveBlurOnly_ShadowFlag as u32;
1515
const ALL = Self::TRANSPARENT_OCCLUDER.bits() | Self::GEOMETRIC_ONLY.bits()
16-
| Self::GEOMETRIC_ONLY.bits() | Self::CONCAVE_BLUR_ONLY.bits();
16+
| Self::DIRECTIONAL_LIGHT.bits() | Self::CONCAVE_BLUR_ONLY.bits();
1717
}
1818
}
1919

0 commit comments

Comments
 (0)