add missing inline annotation

This commit is contained in:
Gered 2023-04-30 17:15:22 -04:00
parent 2843f87bdc
commit 836e577bac

View file

@ -772,6 +772,7 @@ impl From<u32> for ARGBf32x4 {
}
impl From<ARGBu8x4> for ARGBf32x4 {
#[inline]
fn from(value: ARGBu8x4) -> Self {
ARGBf32x4::from_argb([
value.a() as f32 / 255.0,