aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image/TextureCache.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2021-07-14 14:48:57 -0300
committerGitHub <noreply@github.com>2021-07-14 14:48:57 -0300
commitbb6fab200969531ff858de399879779de5aaeac0 (patch)
tree908d277b8ecb553a458e597c18ca859bf251c1a2 /Ryujinx.Graphics.Gpu/Image/TextureCache.cs
parent96a070a9a76ee5809f1ed9e78c75606c6f803c6a (diff)
Ensure that DMA copy target textures are kept alive or flushed (#2478)
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TextureCache.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/TextureCache.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TextureCache.cs b/Ryujinx.Graphics.Gpu/Image/TextureCache.cs
index 1b54033c..d9920f97 100644
--- a/Ryujinx.Graphics.Gpu/Image/TextureCache.cs
+++ b/Ryujinx.Graphics.Gpu/Image/TextureCache.cs
@@ -816,6 +816,7 @@ namespace Ryujinx.Graphics.Gpu.Image
if (match)
{
+ _cache.Lift(texture);
return texture;
}
}