Make Texture Volatile on dispose

This commit is contained in:
Isaac Marovitz 2024-05-18 20:47:45 -04:00
parent 0a7cec1a29
commit 500aff53b1
No known key found for this signature in database
GPG Key ID: 97250B2B09A132E1
1 changed files with 2 additions and 2 deletions

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