Stop clearing Modified flag on DiscardData (#6591)

This commit is contained in:
gdkchan 2024-04-03 21:30:46 -03:00 committed by GitHub
parent 6208c3e6f0
commit 8e74fa3456
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -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)