Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions binding/SkiaSharp/SKImageFilter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,7 @@ public static SKImageFilter CreateTile (SKRect src, SKRect dst) =>

public static SKImageFilter CreateTile (SKRect src, SKRect dst, SKImageFilter? input)
{
_ = input ?? throw new ArgumentNullException (nameof (input));
return GetObject (SkiaApi.sk_imagefilter_new_tile (&src, &dst, input.Handle));
return GetObject (SkiaApi.sk_imagefilter_new_tile (&src, &dst, input?.Handle ?? IntPtr.Zero));
}

// CreateBlendMode
Expand Down