mirror of https://github.com/Ryujinx/Ryujinx.git
Make Texture Volatile on dispose
This commit is contained in:
parent
0a7cec1a29
commit
500aff53b1
|
@ -327,12 +327,12 @@ namespace Ryujinx.Graphics.Metal
|
|||
|
||||
public void Release()
|
||||
{
|
||||
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
|
||||
Dispose();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
|
||||
MTLTexture.SetPurgeableState(MTLPurgeableState.Volatile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue