diff --git a/src/ImageSharp/PixelFormats/PixelImplementations/Bgra32.cs b/src/ImageSharp/PixelFormats/PixelImplementations/Bgra32.cs index b8e0e4addf..70b6ddd693 100644 --- a/src/ImageSharp/PixelFormats/PixelImplementations/Bgra32.cs +++ b/src/ImageSharp/PixelFormats/PixelImplementations/Bgra32.cs @@ -149,7 +149,7 @@ public uint PackedValue /// [MethodImpl(InliningOptions.ShortMethod)] - public void FromVector4(Vector4 vector) => this.Pack(ref vector); + public void FromVector4(Vector4 vector) => this.Pack(vector); /// [MethodImpl(InliningOptions.ShortMethod)] @@ -302,7 +302,7 @@ public void FromRgba64(Rgba64 source) /// /// The vector containing the values to pack. [MethodImpl(InliningOptions.ShortMethod)] - private void Pack(ref Vector4 vector) + private void Pack(Vector4 vector) { vector *= MaxBytes; vector += Half;