mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-04 15:32:17 +01:00
Make Texture Volatile on dispose
This commit is contained in:
parent
c97e7d621b
commit
e6c2e5873c
1 changed files with 2 additions and 2 deletions
|
@ -327,12 +327,12 @@ namespace Ryujinx.Graphics.Metal
|
||||||
|
|
||||||
public void Release()
|
public void Release()
|
||||||
{
|
{
|
||||||
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
|
Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
Logger.Warning?.Print(LogClass.Gpu, "Not Implemented!");
|
MTLTexture.SetPurgeableState(MTLPurgeableState.Volatile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue