Browse Source

fixed Clear composition, it essentially returns fully transparent

pull/641/head
Vicente Penades 8 years ago
parent
commit
8a59bf7f38
  1. 2
      src/ImageSharp/PixelFormats/PixelBlenders/PorterDuffFunctions.cs

2
src/ImageSharp/PixelFormats/PixelBlenders/PorterDuffFunctions.cs

@ -244,7 +244,7 @@ namespace SixLabors.ImageSharp.PixelFormats.PixelBlenders
private static Vector4 Clear(Vector4 backdrop, Vector4 source)
{
return Vector4.Lerp(backdrop, Vector4.Zero, source.W);
return Vector4.Zero;
}
}
}
Loading…
Cancel
Save