mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-24 11:06:03 +00:00
Reset Descriptor instead of making a new object
This commit is contained in:
parent
db9de66437
commit
8232ce7d72
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
public void UpdateVertexAttributes(ReadOnlySpan<VertexAttribDescriptor> vertexAttribs)
|
||||
{
|
||||
// Reset Vertex Descriptor
|
||||
_vertexDescriptor = new();
|
||||
_vertexDescriptor.Reset();
|
||||
|
||||
for (int i = 0; i < vertexAttribs.Length; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue