Browse Source

Update Adler32 to correctly filter intrinsics. Fix #1228

pull/1574/head
James Jackson-South 6 years ago
parent
commit
0056255c80
  1. 2
      src/ImageSharp/Formats/Png/Zlib/Adler32.cs

2
src/ImageSharp/Formats/Png/Zlib/Adler32.cs

@ -63,7 +63,7 @@ namespace SixLabors.ImageSharp.Formats.Png.Zlib
}
#if SUPPORTS_RUNTIME_INTRINSICS
if (Sse3.IsSupported && buffer.Length >= MinBufferSize)
if (Ssse3.IsSupported && buffer.Length >= MinBufferSize)
{
return CalculateSse(adler, buffer);
}

Loading…
Cancel
Save