diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index cd59dca803..cd741acd83 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -20,20 +20,18 @@ jobs: sdk-preview: true runtime: -x64 codecov: false - # Temp disabled due to runtime preview issues. - # https://github.com/SixLabors/ImageSharp/issues/2117 - #- os: macos-latest - # framework: net7.0 - # sdk: 7.0.x - # sdk-preview: true - # runtime: -x64 - # codecov: false - #- os: windows-latest - # framework: net7.0 - # sdk: 7.0.x - # sdk-preview: true - # runtime: -x64 - # codecov: false + - os: macos-latest + framework: net7.0 + sdk: 7.0.x + sdk-preview: true + runtime: -x64 + codecov: false + - os: windows-latest + framework: net7.0 + sdk: 7.0.x + sdk-preview: true + runtime: -x64 + codecov: false - os: ubuntu-latest framework: net6.0 sdk: 6.0.x diff --git a/src/ImageSharp/PixelFormats/PixelImplementations/Bgra32.cs b/src/ImageSharp/PixelFormats/PixelImplementations/Bgra32.cs index 02d2c24d5e..46e6a41384 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;