From 1b8f97b26cfc0e1c92f67f59b261c7889f815e03 Mon Sep 17 00:00:00 2001 From: riperiperi Date: Sun, 27 Sep 2020 00:37:45 +0100 Subject: [PATCH] Always set new texture data for textures initialized by a copy. (#1576) --- Ryujinx.Graphics.Gpu/Image/TextureManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs index ea321aae4..dd499b784 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs @@ -771,7 +771,7 @@ namespace Ryujinx.Graphics.Gpu.Image // Any textures that are incompatible will contain garbage data, so they should be removed where possible. int viewCompatible = 0; - bool setData = isSamplerTexture || overlapsCount == 0; + bool setData = isSamplerTexture || overlapsCount == 0 || flags.HasFlag(TextureSearchFlags.ForCopy); for (int index = 0; index < overlapsCount; index++) {