diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-02-21 06:40:23 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 10:40:23 +0100 |
commit | 58d7a1fe9747f673b0c0399581730616681f015c (patch) | |
tree | 042fb054d7e54e3f84cb62e3e1f9014d77aab9cc | |
parent | 7aa430f1a51fd793971992b4454540975222b848 (diff) |
Mark texture as modified and sync on I2M fast path (#4449)1.1.627
-rw-r--r-- | Ryujinx.Graphics.Gpu/Engine/InlineToMemory/InlineToMemoryClass.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/InlineToMemory/InlineToMemoryClass.cs b/Ryujinx.Graphics.Gpu/Engine/InlineToMemory/InlineToMemoryClass.cs index f6effe2e..e1d7e940 100644 --- a/Ryujinx.Graphics.Gpu/Engine/InlineToMemory/InlineToMemoryClass.cs +++ b/Ryujinx.Graphics.Gpu/Engine/InlineToMemory/InlineToMemoryClass.cs @@ -197,7 +197,9 @@ namespace Ryujinx.Graphics.Gpu.Engine.InlineToMemory if (target != null) { + target.SynchronizeMemory(); target.SetData(data, 0, 0, new GAL.Rectangle<int>(_dstX, _dstY, _lineLengthIn / target.Info.FormatInfo.BytesPerPixel, _lineCount)); + target.SignalModified(); return; } |