|
|
@@ -41,14 +41,14 @@ namespace Ryujinx.Graphics.Gpu.Image
|
|
|
{
|
|
|
Texture oldestTexture = _textures.First.Value;
|
|
|
|
|
|
- oldestTexture.SynchronizeMemory();
|
|
|
-
|
|
|
- if (oldestTexture.IsModified && !oldestTexture.CheckModified(true))
|
|
|
+ if (oldestTexture.IsModified && !oldestTexture.CheckModified(false))
|
|
|
{
|
|
|
// The texture must be flushed if it falls out of the auto delete cache.
|
|
|
// Flushes out of the auto delete cache do not trigger write tracking,
|
|
|
// as it is expected that other overlapping textures exist that have more up-to-date contents.
|
|
|
- oldestTexture.Flush(false);
|
|
|
+
|
|
|
+ oldestTexture.Group.SynchronizeDependents(oldestTexture);
|
|
|
+ oldestTexture.Flush(false);
|
|
|
}
|
|
|
|
|
|
_textures.RemoveFirst();
|