From f89b754abb3d721c09ba6ab00f7906d2d5ccb02b 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 ea321aae..dd499b78 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++) {