We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b84aec commit 66b2f32Copy full SHA for 66b2f32
1 file changed
src/ImageSharp/Formats/Webp/WebpCommonUtils.cs
@@ -25,7 +25,7 @@ public static unsafe bool CheckNonOpaque(Span<Bgra32> row)
25
ReadOnlySpan<byte> rowBytes = MemoryMarshal.AsBytes(row);
26
int i = 0;
27
int length = (row.Length * 4) - 3;
28
- fixed (byte* src = &MemoryMarshal.GetReference(rowBytes))
+ fixed (byte* src = rowBytes)
29
{
30
var alphaMaskVector256 = Vector256.Create(0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255, 0, 0, 0, 255);
31
Vector256<byte> all0x80Vector256 = Vector256.Create((byte)0x80).AsByte();
0 commit comments