Skip to content
Merged
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
2 changes: 1 addition & 1 deletion binding/SkiaSharp/SKSurface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public static SKSurface Create (GRRecordingContext context, bool budgeted, SKIma
return GetObject (SkiaApi.sk_surface_new_render_target (context.Handle, budgeted, &cinfo, sampleCount, origin, props?.Handle ?? IntPtr.Zero, shouldCreateWithMips));
}

#if __MACOS__ || __IOS__
#if __MACOS__ || __IOS__ || __TVOS__

public static SKSurface Create (GRContext context, CoreAnimation.CAMetalLayer layer, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, out CoreAnimation.ICAMetalDrawable drawable) =>
Create ((GRRecordingContext)context, layer, origin, sampleCount, colorType, out drawable);
Expand Down