소스 검색

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