Skip to content

Commit

Permalink
Fix for issue #2117
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpopow committed Sep 15, 2022
1 parent 74e2b7c commit 353f2e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ImageSharp/PixelFormats/PixelImplementations/Bgra32.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public uint PackedValue

/// <inheritdoc/>
[MethodImpl(InliningOptions.ShortMethod)]
public void FromVector4(Vector4 vector) => this.Pack(ref vector);
public void FromVector4(Vector4 vector) => this.Pack(vector);

/// <inheritdoc/>
[MethodImpl(InliningOptions.ShortMethod)]
Expand Down Expand Up @@ -302,7 +302,7 @@ public void FromRgba64(Rgba64 source)
/// </summary>
/// <param name="vector">The vector containing the values to pack.</param>
[MethodImpl(InliningOptions.ShortMethod)]
private void Pack(ref Vector4 vector)
private void Pack(Vector4 vector)
{
vector *= MaxBytes;
vector += Half;
Expand Down

0 comments on commit 353f2e2

Please sign in to comment.