Skip to content

Commit

Permalink
Manual fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacMarovitz committed Mar 20, 2024
1 parent eacde76 commit 388f93e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/SharpMetal/Metal/MTLRenderCommandEncoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public void SetViewport(MTLViewport viewport)
ObjectiveCRuntime.objc_msgSend(NativePtr, sel_setViewport, viewport);
}

public void SetViewports(MTLViewport viewports, ulong count)
public void SetViewports(IntPtr viewports, ulong count)
{
ObjectiveCRuntime.objc_msgSend(NativePtr, sel_setViewportscount, viewports, count);
}
Expand Down Expand Up @@ -300,7 +300,7 @@ public void SetScissorRect(MTLScissorRect rect)
ObjectiveCRuntime.objc_msgSend(NativePtr, sel_setScissorRect, rect);
}

public void SetScissorRects(MTLScissorRect scissorRects, ulong count)
public void SetScissorRects(IntPtr scissorRects, ulong count)
{
ObjectiveCRuntime.objc_msgSend(NativePtr, sel_setScissorRectscount, scissorRects, count);
}
Expand Down
2 changes: 1 addition & 1 deletion src/SharpMetal/SharpMetal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<AssemblyName>SharpMetal</AssemblyName>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.0.0-preview11</Version>
<Version>1.0.0-preview12</Version>
<Description>Handcrafted Metal bindings for C#</Description>
<RepositoryUrl>https://github.com/IsaacMarovitz/SharpMetal</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down

0 comments on commit 388f93e

Please sign in to comment.