make states private

This commit is contained in:
Samuliak 2024-05-24 15:59:07 +02:00 committed by Isaac Marovitz
parent 6296de1a65
commit 541f1096b7
No known key found for this signature in database
GPG Key ID: 97250B2B09A132E1
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ namespace Ryujinx.Graphics.Metal
private readonly RenderPipelineCache _renderPipelineCache;
private readonly DepthStencilCache _depthStencilCache;
public EncoderState _currentState = new();
public List<EncoderState> _backStates = new();
private EncoderState _currentState = new();
private List<EncoderState> _backStates = new();
public readonly MTLBuffer IndexBuffer => _currentState.IndexBuffer;
public readonly MTLIndexType IndexType => _currentState.IndexType;