Skip to content

Commit

Permalink
[metal] Fix 'indirectRenderCommandAtIndex' binding (#4759)
Browse files Browse the repository at this point in the history
`CreateIndirectRenderCommand` implies we're creating the command while this API "returns the CPU-based indirect render command at the given index of the indirect command buffer". Moving to `GetCommand` which is more accurate.
  • Loading branch information
VincentDondain authored and spouliot committed Sep 6, 2018
1 parent 136f994 commit f4277dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3310,7 +3310,7 @@ interface MTLIndirectCommandBuffer : MTLResource {

[Abstract]
[Export ("indirectRenderCommandAtIndex:")]
IMTLIndirectRenderCommand CreateIndirectRenderCommand (nuint commandIndex);
IMTLIndirectRenderCommand GetCommand (nuint commandIndex);
}

[NoiOS, NoTV, Mac (10,14, onlyOn64: true)]
Expand Down

0 comments on commit f4277dc

Please sign in to comment.