Przeglądaj źródła

Propagate zeta format properly (#1716)

gdkchan 5 lat temu
rodzic
commit
787e20937f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Ryujinx.Graphics.Gpu/Engine/MethodCopyTexture.cs

+ 1 - 1
Ryujinx.Graphics.Gpu/Engine/MethodCopyTexture.cs

@@ -57,7 +57,7 @@ namespace Ryujinx.Graphics.Gpu.Engine
 
             if (srcTexture.Format.IsDepthOrStencil())
             {
-                dstCopyTextureFormat = srcCopyTextureFormat;
+                dstCopyTextureFormat = srcTexture.Info.FormatInfo;
             }
             else
             {