Fix format issues (maybe)
This commit is contained in:
parent
b671c325ca
commit
5bc01d7847
2 changed files with 0 additions and 3 deletions
|
@ -180,7 +180,6 @@ namespace Ryujinx.Graphics.Gpu.Memory
|
||||||
|
|
||||||
private void ChangeBacking()
|
private void ChangeBacking()
|
||||||
{
|
{
|
||||||
var before = BackingState.Active;
|
|
||||||
BufferAccess access = BackingState.SwitchAccess(this);
|
BufferAccess access = BackingState.SwitchAccess(this);
|
||||||
|
|
||||||
BufferHandle newHandle = _context.Renderer.CreateBuffer((int)Size, access, Handle);
|
BufferHandle newHandle = _context.Renderer.CreateBuffer((int)Size, access, Handle);
|
||||||
|
|
|
@ -101,8 +101,6 @@ namespace Ryujinx.Graphics.Gpu.Memory
|
||||||
_desiredType = (BufferBackingType)Math.Max((int)_desiredType, (int)oldState._desiredType);
|
_desiredType = (BufferBackingType)Math.Max((int)_desiredType, (int)oldState._desiredType);
|
||||||
}
|
}
|
||||||
|
|
||||||
public BufferBackingType Active => _activeType;
|
|
||||||
|
|
||||||
public BufferAccess SwitchAccess(Buffer parent)
|
public BufferAccess SwitchAccess(Buffer parent)
|
||||||
{
|
{
|
||||||
BufferAccess access = parent.SparseCompatible ? BufferAccess.SparseCompatible : BufferAccess.Default;
|
BufferAccess access = parent.SparseCompatible ? BufferAccess.SparseCompatible : BufferAccess.Default;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue