Browse Source

fixed Clear composition, it essentially returns fully transparent

af/merge-core
Vicente Penades 8 years ago
parent
commit
549208fef7
  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) private static Vector4 Clear(Vector4 backdrop, Vector4 source)
{ {
return Vector4.Lerp(backdrop, Vector4.Zero, source.W); return Vector4.Zero;
} }
} }
} }
Loading…
Cancel
Save