Skip to content

Commit bc338a3

Browse files
committed
Merge remote-tracking branch 'origin/main' into dev/inline-docs
# Conflicts: # binding/SkiaSharp/SKSurface.cs
2 parents ac69d93 + 21c9fb8 commit bc338a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

binding/SkiaSharp/SKSurface.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,8 @@ public static SKSurface Create (GRRecordingContext context, bool budgeted, SKIma
651651
return GetObject (SkiaApi.sk_surface_new_render_target (context.Handle, budgeted, &cinfo, sampleCount, origin, props?.Handle ?? IntPtr.Zero, shouldCreateWithMips));
652652
}
653653

654-
#if __MACOS__ || __IOS__
655-
654+
#if __MACOS__ || __IOS__ || __TVOS__
655+
656656
public static SKSurface Create (GRContext context, CoreAnimation.CAMetalLayer layer, GRSurfaceOrigin origin, int sampleCount, SKColorType colorType, out CoreAnimation.ICAMetalDrawable drawable) =>
657657
Create ((GRRecordingContext)context, layer, origin, sampleCount, colorType, out drawable);
658658

0 commit comments

Comments
 (0)