Skip to content

Commit

Permalink
Add Metal API for GRBackendRenderTarget to all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
spouliot committed Nov 15, 2024
1 parent 6d580ae commit 9a133bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions binding/SkiaSharp/GRBackendRenderTarget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ public GRBackendRenderTarget (int width, int height, int sampleCount, GRMtlTextu
{
}

#endif

public GRBackendRenderTarget (int width, int height, GRMtlTextureInfo mtlInfo)
: this (IntPtr.Zero, true)
{
Expand All @@ -49,8 +51,6 @@ public GRBackendRenderTarget (int width, int height, GRMtlTextureInfo mtlInfo)
}
}

#endif

private void CreateGl (int width, int height, int sampleCount, int stencilBits, GRGlFramebufferInfo glInfo)
{
Handle = SkiaApi.gr_backendrendertarget_new_gl (width, height, sampleCount, stencilBits, &glInfo);
Expand Down

0 comments on commit 9a133bd

Please sign in to comment.