Преглед изворни кода

Always set new texture data for textures initialized by a copy. (#1576)

riperiperi пре 5 година
родитељ
комит
f89b754abb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Ryujinx.Graphics.Gpu/Image/TextureManager.cs

+ 1 - 1
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++)
                 {