mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-18 21:42:01 +00:00
Clear cached converted buffers on signaled write
This commit is contained in:
parent
2c511cdf4f
commit
84f3b4a3e1
1 changed files with 2 additions and 2 deletions
|
@ -67,11 +67,11 @@ namespace Ryujinx.Graphics.Metal
|
|||
{
|
||||
if (offset == 0 && size == Size)
|
||||
{
|
||||
// TODO: Cache converted buffers
|
||||
_cachedConvertedBuffers.Clear();
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO: Cache converted buffers
|
||||
_cachedConvertedBuffers.ClearRange(offset, size);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue