diff options
| author | riperiperi <rhy3756547@hotmail.com> | 2020-09-27 00:37:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-27 09:37:45 +1000 |
| commit | f89b754abb3d721c09ba6ab00f7906d2d5ccb02b (patch) | |
| tree | ed09fe95afed807856afb180d4996d71ea20692c | |
| parent | 16e9d1567410de58b8b426fffc93d1a5fe33d834 (diff) | |
Always set new texture data for textures initialized by a copy. (#1576)
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/TextureManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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++) { |
