diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2024-04-03 21:30:46 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-03 21:30:46 -0300 |
| commit | 8e74fa34560c4a8c3de234eb3488e1d0fb6f8f6c (patch) | |
| tree | 313e5f9160f9b976ea8c28118244202d02442e12 /src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs | |
| parent | 6208c3e6f0b74873aae2ce49df8e89952ae61c5a (diff) | |
Stop clearing Modified flag on DiscardData (#6591)
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs')
| -rw-r--r-- | src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs b/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs index d345ec2d..0af6b7ca 100644 --- a/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs +++ b/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs @@ -182,11 +182,10 @@ namespace Ryujinx.Graphics.Gpu.Image /// <summary> /// Discards all data for this handle. - /// This clears all dirty flags, modified flags, and pending copies from other handles. + /// This clears all dirty flags and pending copies from other handles. /// </summary> public void DiscardData() { - Modified = false; DeferredCopy = null; foreach (RegionHandle handle in Handles) |
