make states private

This commit is contained in:
Samuliak 2024-05-24 15:59:07 +02:00 committed by Isaac Marovitz
parent 8eba42447f
commit f08d6c1cad

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;