From 264742f085d1e9f26432cdb940cd9fbf80d9fd79 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Wed, 11 Oct 2023 00:39:18 -0400 Subject: [PATCH] Formatting --- src/Ryujinx.Graphics.Metal/Pipeline.cs | 2 +- src/Ryujinx.Graphics.Metal/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx.Graphics.Metal/Pipeline.cs b/src/Ryujinx.Graphics.Metal/Pipeline.cs index 3a92d3435..240bccdc6 100644 --- a/src/Ryujinx.Graphics.Metal/Pipeline.cs +++ b/src/Ryujinx.Graphics.Metal/Pipeline.cs @@ -26,7 +26,7 @@ namespace Ryujinx.Graphics.Metal private MTLCommandEncoder _currentEncoder; private RenderEncoderState _renderEncoderState; - private MTLVertexDescriptor _vertexDescriptor = new(); + private readonly MTLVertexDescriptor _vertexDescriptor = new(); private MTLBuffer[] _vertexBuffers; private MTLBuffer _indexBuffer; diff --git a/src/Ryujinx.Graphics.Metal/Program.cs b/src/Ryujinx.Graphics.Metal/Program.cs index 2b4c5f225..c666172cb 100644 --- a/src/Ryujinx.Graphics.Metal/Program.cs +++ b/src/Ryujinx.Graphics.Metal/Program.cs @@ -11,7 +11,7 @@ namespace Ryujinx.Graphics.Metal [SupportedOSPlatform("macos")] class Program : IProgram { - private ProgramLinkStatus _status = ProgramLinkStatus.Incomplete; + private ProgramLinkStatus _status; public MTLFunction VertexFunction; public MTLFunction FragmentFunction; public MTLFunction ComputeFunction;