Browse Source

Fix base unpremultiply benchmark

pull/1399/head
James Jackson-South 5 years ago
parent
commit
4aebc135bc
  1. 2
      tests/ImageSharp.Benchmarks/Color/Bulk/UnPremultiplyVector4.cs

2
tests/ImageSharp.Benchmarks/Color/Bulk/UnPremultiplyVector4.cs

@ -36,7 +36,7 @@ namespace SixLabors.ImageSharp.Benchmarks.ColorSpaces.Bulk
private static void UnPremultiply(ref Vector4 source)
{
float w = source.W;
source *= w;
source /= w;
source.W = w;
}

Loading…
Cancel
Save