Skip to content

Commit 21c9fb8

Browse files
Add missing tvOS SKSurface.Create overloads (#3342)
Co-authored-by: Matthew Leibowitz <[email protected]>
1 parent 394057a commit 21c9fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binding/SkiaSharp/SKSurface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ public static SKSurface Create (GRRecordingContext context, bool budgeted, SKIma
219219
return GetObject (SkiaApi.sk_surface_new_render_target (context.Handle, budgeted, &cinfo, sampleCount, origin, props?.Handle ?? IntPtr.Zero, shouldCreateWithMips));
220220
}
221221

222-
#if __MACOS__ || __IOS__
222+
#if __MACOS__ || __IOS__ || __TVOS__
223223

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

0 commit comments

Comments
 (0)