Fix format issues (maybe)

This commit is contained in:
riperiperi 2024-05-11 01:11:18 +01:00
parent b671c325ca
commit 5bc01d7847
2 changed files with 0 additions and 3 deletions

View file

@ -180,7 +180,6 @@ namespace Ryujinx.Graphics.Gpu.Memory
private void ChangeBacking()
{
var before = BackingState.Active;
BufferAccess access = BackingState.SwitchAccess(this);
BufferHandle newHandle = _context.Renderer.CreateBuffer((int)Size, access, Handle);

View file

@ -101,8 +101,6 @@ namespace Ryujinx.Graphics.Gpu.Memory
_desiredType = (BufferBackingType)Math.Max((int)_desiredType, (int)oldState._desiredType);
}
public BufferBackingType Active => _activeType;
public BufferAccess SwitchAccess(Buffer parent)
{
BufferAccess access = parent.SparseCompatible ? BufferAccess.SparseCompatible : BufferAccess.Default;