Skip to content

Commit

Permalink
[Fonts] Turned various internal parameters from ref to in (C# 7.2) (m…
Browse files Browse the repository at this point in the history
…issing file)
  • Loading branch information
xen2 committed Oct 23, 2019
1 parent f1513b9 commit aaaa975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/engine/Xenko.Graphics/Sprite3DBatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void Draw(Texture texture, ref Matrix worldMatrix, ref RectangleF sourceR

var elementInfo = new ElementInfo(StaticQuadBufferInfo.VertexByElement, StaticQuadBufferInfo.IndicesByElement, in drawInfo, depthSprite);

Draw(texture, ref elementInfo);
Draw(texture, in elementInfo);
}

protected override void PrepareForRendering()
Expand Down

0 comments on commit aaaa975

Please sign in to comment.