aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2023-01-13 23:46:45 -0300
committerGitHub <noreply@github.com>2023-01-13 23:46:45 -0300
commit070136b3f7a000e092eef46780091be29c0bc0bf (patch)
tree4bf7e7fc7b690e0183ea3c98442cbb39e7f20507 /Ryujinx.Graphics.Gpu/Image/TextureGroup.cs
parent08ab47c6c0cbdb56bc1ab17be4323a35b2163fa9 (diff)
Fix texture modified on CPU from GPU thread after being modified on GPU not being updated (#4284)1.1.553
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TextureGroup.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/TextureGroup.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs b/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs
index cd17564a..a6e0616c 100644
--- a/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs
+++ b/Ryujinx.Graphics.Gpu/Image/TextureGroup.cs
@@ -1431,10 +1431,10 @@ namespace Ryujinx.Graphics.Gpu.Image
return;
}
+ handle.Sync(_context);
+
_context.Renderer.BackgroundContextAction(() =>
{
- handle.Sync(_context);
-
Storage.SignalModifiedDirty();
lock (handle.Overlaps)