1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-20 00:32:01 +00:00

Make Texture Volatile on dispose

This commit is contained in:
Isaac Marovitz 2024-05-18 20:47:45 -04:00 committed by Isaac Marovitz
parent c97e7d621b
commit e6c2e5873c

View file

@ -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);
}
}
}