mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
Clear cached converted buffers on signaled write
This commit is contained in:
parent
98ae46ba70
commit
3451fbbbad
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