From f08d6c1cadf927db867c2986da52340add1e6d0c Mon Sep 17 00:00:00 2001 From: Samuliak Date: Fri, 24 May 2024 15:59:07 +0200 Subject: [PATCH] make states private --- src/Ryujinx.Graphics.Metal/EncoderStateManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx.Graphics.Metal/EncoderStateManager.cs b/src/Ryujinx.Graphics.Metal/EncoderStateManager.cs index 1278b5bc7a..da3fab54a5 100644 --- a/src/Ryujinx.Graphics.Metal/EncoderStateManager.cs +++ b/src/Ryujinx.Graphics.Metal/EncoderStateManager.cs @@ -17,8 +17,8 @@ namespace Ryujinx.Graphics.Metal private readonly RenderPipelineCache _renderPipelineCache; private readonly DepthStencilCache _depthStencilCache; - public EncoderState _currentState = new(); - public List _backStates = new(); + private EncoderState _currentState = new(); + private List _backStates = new(); public readonly MTLBuffer IndexBuffer => _currentState.IndexBuffer; public readonly MTLIndexType IndexType => _currentState.IndexType;