aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Gpu/Image/TextureCache.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2023-10-30 19:18:28 -0300
committerGitHub <noreply@github.com>2023-10-30 23:18:28 +0100
commit9ef0be477bd6ea4c2c9aada53d94386824a87f00 (patch)
tree2954711eb9d4c8b4163a767bb295f12189e23f3c /src/Ryujinx.Graphics.Gpu/Image/TextureCache.cs
parentc14ce4d2a5c9b373fb454906a6dc142c028d7be2 (diff)
Skip some invalid texture flushes (#5755)1.1.1066
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Image/TextureCache.cs')
-rw-r--r--src/Ryujinx.Graphics.Gpu/Image/TextureCache.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Image/TextureCache.cs b/src/Ryujinx.Graphics.Gpu/Image/TextureCache.cs
index 5048ccca..432b1085 100644
--- a/src/Ryujinx.Graphics.Gpu/Image/TextureCache.cs
+++ b/src/Ryujinx.Graphics.Gpu/Image/TextureCache.cs
@@ -107,8 +107,6 @@ namespace Ryujinx.Graphics.Gpu.Image
// Any texture that has been unmapped at any point or is partially unmapped
// should update their pool references after the remap completes.
- MultiRange unmapped = ((MemoryManager)sender).GetPhysicalRegions(e.Address, e.Size);
-
foreach (var texture in _partiallyMappedTextures)
{
texture.UpdatePoolMappings();