Skip to content

Commit 8af5d8a

Browse files
Merge pull request #2230 from SixLabors/bp/FixIssue2117
Fix for issue #2117
2 parents 7b40389 + 0c62aeb commit 8af5d8a

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

.github/workflows/build-and-test.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,18 @@ jobs:
2020
sdk-preview: true
2121
runtime: -x64
2222
codecov: false
23-
# Temp disabled due to runtime preview issues.
24-
# https://github.com/SixLabors/ImageSharp/issues/2117
25-
#- os: macos-latest
26-
# framework: net7.0
27-
# sdk: 7.0.x
28-
# sdk-preview: true
29-
# runtime: -x64
30-
# codecov: false
31-
#- os: windows-latest
32-
# framework: net7.0
33-
# sdk: 7.0.x
34-
# sdk-preview: true
35-
# runtime: -x64
36-
# codecov: false
23+
- os: macos-latest
24+
framework: net7.0
25+
sdk: 7.0.x
26+
sdk-preview: true
27+
runtime: -x64
28+
codecov: false
29+
- os: windows-latest
30+
framework: net7.0
31+
sdk: 7.0.x
32+
sdk-preview: true
33+
runtime: -x64
34+
codecov: false
3735
- os: ubuntu-latest
3836
framework: net6.0
3937
sdk: 6.0.x

src/ImageSharp/PixelFormats/PixelImplementations/Bgra32.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public uint PackedValue
149149

150150
/// <inheritdoc/>
151151
[MethodImpl(InliningOptions.ShortMethod)]
152-
public void FromVector4(Vector4 vector) => this.Pack(ref vector);
152+
public void FromVector4(Vector4 vector) => this.Pack(vector);
153153

154154
/// <inheritdoc/>
155155
[MethodImpl(InliningOptions.ShortMethod)]
@@ -302,7 +302,7 @@ public void FromRgba64(Rgba64 source)
302302
/// </summary>
303303
/// <param name="vector">The vector containing the values to pack.</param>
304304
[MethodImpl(InliningOptions.ShortMethod)]
305-
private void Pack(ref Vector4 vector)
305+
private void Pack(Vector4 vector)
306306
{
307307
vector *= MaxBytes;
308308
vector += Half;

0 commit comments

Comments
 (0)